--- google/net.sh 2007/05/21 12:06:14 13 +++ google/net.sh 2007/06/18 08:36:30 29 @@ -1,5 +1,10 @@ -eth=eth3 + +if [ -z "$1" ] ; then + eth=eth3 +else + eth=$1 +fi sudo ifconfig $eth 192.168.1.90 up sudo route add -host 192.168.1.254 dev $eth - +echo "Setup of $eth to 192.168.1.90 ready"