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

Diff for /src/etc/netstart between version 1.136 and 1.137

version 1.136, 2012/12/02 21:02:45 version 1.137, 2012/12/05 07:08:38
Line 17 
Line 17 
         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 [[ $if != +([[:alpha:]])+([[:digit:]]) ]]; then          [[ $if != +([[:alpha:]])+([[:digit:]]) ]] && return
                 echo "netstart: $if: Invalid interface name"  
                 return  
         fi  
   
         file=/etc/hostname.$if          file=/etc/hostname.$if
         if ! [ -f $file ]; then          if ! [ -f $file ]; then

Legend:
Removed from v.1.136  
changed lines
  Added in v.1.137