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

Diff for /src/etc/netstart between version 1.174 and 1.175

version 1.174, 2017/04/07 22:15:17 version 1.175, 2017/04/07 22:53:25
Line 51 
Line 51 
                         # We are carrying over from the 'read dt dtaddr'                          # We are carrying over from the 'read dt dtaddr'
                         # last time.                          # last time.
                         set -- $cmd2                          set -- $cmd2
                         af="$1" name="$2" mask="$3" bcaddr="$4" ext1="$5" cmd2=                          af=$1 name=$2 mask=$3 bcaddr=$4 ext1=$5 cmd2=
                         # Make sure and get any remaining args in ext2,                          # Make sure and get any remaining args in ext2,
                         # like the read below.                          # like the read below.
                         i=1                          i=1
Line 64 
Line 64 
                 # $af can be "dhcp", "up", "rtsol", an address family, commands,                  # $af can be "dhcp", "up", "rtsol", an address family, commands,
                 # or a comment.                  # or a comment.
                 case "$af" in                  case "$af" in
                 "#"*|"") # Skip comments and empty lines.                  "#"*|"")
                           # Skip comments and empty lines.
                         continue                          continue
                         ;;                          ;;
                 "!"*) # Parse commands.                  "!"*) # Parse commands.
Line 84 
Line 85 
                         ;;                          ;;
                 *)                  *)
                         read dt dtaddr                          read dt dtaddr
                         if [ "$name"  = "alias" ]; then                          if [ "$name" = "alias" ]; then
                                 # Perform a 'shift' of sorts.                                  # Perform a 'shift' of sorts.
                                 alias=$name                                  alias=$name
                                 name=$mask                                  name=$mask
Line 131 
Line 132 
                         ;;                          ;;
                 esac                  esac
                 eval "$cmd"                  eval "$cmd"
         done </etc/hostname.$if          done <$file
 }  }
   
 # Start multiple interfaces by driver name.  # Start multiple interfaces by driver name.

Legend:
Removed from v.1.174  
changed lines
  Added in v.1.175