[BACK]Return to netstart CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/netstart between version 1.102 and 1.103

version 1.102, 2005/01/04 15:40:53 version 1.103, 2005/04/03 19:39:31
Line 83 
Line 83 
                         [ "$bcaddr" = "NONE" ] && bcaddr=                          [ "$bcaddr" = "NONE" ] && bcaddr=
                         ifconfig $if $name $mask $bcaddr $ext1 $ext2 down                          ifconfig $if $name $mask $bcaddr $ext1 $ext2 down
                         cmd="dhclient $if"                          cmd="dhclient $if"
                           setgateway=N
                         ;;                          ;;
                 "rtsol")                  "rtsol")
                         ifconfig $if $name $mask $bcaddr $ext1 $ext2 up                          ifconfig $if $name $mask $bcaddr $ext1 $ext2 up
Line 320 
Line 321 
   
 # /etc/mygate, if it exists, contains the name of my gateway host  # /etc/mygate, if it exists, contains the name of my gateway host
 # that name must be in /etc/hosts.  # that name must be in /etc/hosts.
 if [ -f /etc/mygate ]; then  if [ "X${setgateway} != X"N" -a -f /etc/mygate ]; then
         route -qn delete default > /dev/null 2>&1          route -qn delete default > /dev/null 2>&1
         route -qn add -host default `stripcom /etc/mygate`          route -qn add -host default `stripcom /etc/mygate`
 fi  fi

Legend:
Removed from v.1.102  
changed lines
  Added in v.1.103