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

Diff for /src/etc/netstart between version 1.120 and 1.121

version 1.120, 2008/06/09 22:46:42 version 1.121, 2008/06/09 22:56:42
Line 36 
Line 36 
         fi          fi
   
         file=/etc/hostname.$if          file=/etc/hostname.$if
           if ! [ -f $file ]; then
                   echo "netstart: $file: No such file or directory"
                   return
           fi
         if [ "$(stat -f "%SLp %u %g" $file)" != "--- 0 0" ]; then          if [ "$(stat -f "%SLp %u %g" $file)" != "--- 0 0" ]; then
                 echo "WARNING: $file is insecure, fixing permissions"                  echo "WARNING: $file is insecure, fixing permissions"
                 chmod o-rwx $file                  chmod o-rwx $file

Legend:
Removed from v.1.120  
changed lines
  Added in v.1.121