This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /network-setup.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 59 by dpavlin, Fri Nov 16 17:45:22 2007 UTC revision 60 by dpavlin, Fri Nov 16 23:44:51 2007 UTC
# Line 12  sudo ifconfig $if up Line 12  sudo ifconfig $if up
12  #sudo ifconfig $if:192 netmask up  #sudo ifconfig $if:192 netmask up
13  sudo route add -net netmask dev $if  sudo route add -net netmask dev $if
14  netstat -rn  netstat -rn
15  #echo "starting bootp server"  pid=`pidof dhcpd`
16  #sudo /usr/sbin/udhcpd etc/udhcpd.conf  if [ -z "$pid" ] ; then
17            echo "starting bootp server"
18            sudo /usr/sbin/udhcpd etc/udhcpd.conf
19    fi
20  echo "starting tftp server"  echo "starting tftp server"
21  pid=`pidof in.tftpd`  pid=`pidof in.tftpd`
22  test ! -z "$pid" && sudo kill $pid  test ! -z "$pid" && sudo kill $pid

Removed from v.59  
changed lines
  Added in v.60

  ViewVC Help
Powered by ViewVC 1.1.26