minor fix for routeop

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2011-08-19 13:54:19 +00:00
parent db03b9948d
commit 426d072a72

View File

@ -79,7 +79,7 @@ if [[ "$result" == "0" ]]; then
if [[ $OSTYPE = linux* ]]; then
cmd="route add -net $net netmask $mask gw $gw"
else
cmd="/etc/route add -net $net -netmask $mask $gw"
cmd="route add -net $net -netmask $mask $gw"
fi
echo "$cmd"
result=`$cmd 2>&1`