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

Diff for /src/etc/netstart between version 1.182 and 1.183

version 1.182, 2017/05/07 07:55:17 version 1.183, 2017/05/07 09:40:15
Line 96 
Line 96 
   
         # 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]}" != *---00 ]]; 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
                 chown -LR root.wheel $_file                  chown -LR root.wheel $_file

Legend:
Removed from v.1.182  
changed lines
  Added in v.1.183