/[cwmp]/google/trunk/net.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /google/trunk/net.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 112 - (show annotations)
Fri Oct 26 11:42:39 2007 UTC (16 years, 6 months ago) by dpavlin
File MIME type: application/x-sh
File size: 185 byte(s)
reorg source code tree to make trunk
1
2 if [ -z "$1" ] ; then
3 eth=eth0
4 # eth=ath0:0
5 else
6 eth=$1
7 fi
8
9 sudo ifconfig $eth 192.168.1.90 up
10 sudo route add -host 192.168.1.254 dev $eth
11 echo "Setup of $eth to 192.168.1.90 ready"

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26