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

Diff for /src/etc/netstart between version 1.165 and 1.166

version 1.165, 2015/12/18 08:49:53 version 1.166, 2015/12/29 19:33:43
Line 32 
Line 32 
                 return                  return
         fi          fi
         # Not using stat(1), we can't rely on having /usr yet.          # Not using stat(1), we can't rely on having /usr yet.
         set -A stat -- `ls -nL $file`          set -A stat -- $(ls -nL $file)
         if [ "${stat[0]#???????} ${stat[2]} ${stat[3]}" != "--- 0 0" ]; then          if [ "${stat[0]#???????} ${stat[2]} ${stat[3]}" != "--- 0 0" ]; then
                 echo "WARNING: $file is insecure, fixing permissions"                  echo "WARNING: $file is insecure, fixing permissions"
                 chmod -LR o-rwx $file                  chmod -LR o-rwx $file

Legend:
Removed from v.1.165  
changed lines
  Added in v.1.166