Parent Directory | Revision Log
optional network interface (or alias)
1 | dpavlin | 2 | |
2 | dpavlin | 29 | if [ -z "$1" ] ; then |
3 | eth=eth3 | ||
4 | else | ||
5 | eth=$1 | ||
6 | fi | ||
7 | |||
8 | dpavlin | 13 | sudo ifconfig $eth 192.168.1.90 up |
9 | sudo route add -host 192.168.1.254 dev $eth | ||
10 | dpavlin | 29 | echo "Setup of $eth to 192.168.1.90 ready" |
Name | Value |
---|---|
svn:executable |
ViewVC Help | |
Powered by ViewVC 1.1.26 |