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

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

version 1.173, 2017/04/07 21:44:07 version 1.174, 2017/04/07 22:15:17
Line 22 
Line 22 
 # Start a single interface.  # Start a single interface.
 # Usage: ifstart if1  # Usage: ifstart if1
 ifstart() {  ifstart() {
           # Note: Do not rename the 'if' variable which is documented as being
           # usable in hostname.if(5) files.
         if=$1          if=$1
   
         # Interface names must be alphanumeric only.  We check to avoid          # Interface names must be alphanumeric only.  We check to avoid
         # configuring backup or temp files, and to catch the "*" case.          # configuring backup or temp files, and to catch the "*" case.
         [[ $if != +([[:alpha:]])+([[:digit:]]) ]] && return          [[ $if != +([[:alpha:]])+([[:digit:]]) ]] && return

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