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

Diff for /src/etc/netstart between version 1.148 and 1.149

version 1.148, 2015/07/19 01:37:45 version 1.149, 2015/07/19 04:44:36
Line 132 
Line 132 
                 for hn in /etc/hostname.*; do                  for hn in /etc/hostname.*; do
                         # Strip off /etc/hostname. prefix.                          # Strip off /etc/hostname. prefix.
                         if=${hn#/etc/hostname.}                          if=${hn#/etc/hostname.}
                         test "$if" = "*" && continue                          [ "$if" = "*" ] && continue
   
                         # Skip unwanted ifs.                          # Skip unwanted ifs.
                         s=""                          s=""
                         for xf in $2; do                          for xf in $2; do
                                 test "$xf" = "${if%%[0-9]*}" && s="1" && break                                  [ "$xf" = "${if%%[0-9]*}" ] && s="1" && break
                         done                          done
                         test "$s" = "1" && continue                          [ "$s" = "1" ] && continue
   
                         # Start wanted ifs.                          # Start wanted ifs.
                         test "$sif" = "ALL" -o \                          [ "$sif" = "ALL" -o "$sif" = "${if%%[0-9]*}" ] &&
                              "$sif" = "${if%%[0-9]*}" \                                  ifstart $if
                                 && ifstart $if  
                 done                  done
         done          done
 }  }

Legend:
Removed from v.1.148  
changed lines
  Added in v.1.149