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

Diff for /src/etc/netstart between version 1.228 and 1.229

version 1.228, 2022/11/05 12:03:58 version 1.229, 2022/11/05 12:06:05
Line 312 
Line 312 
 # Make sure the invoking user has the right privileges.  Check for presence of  # Make sure the invoking user has the right privileges.  Check for presence of
 # id(1) to avoid problems with diskless setups.  # id(1) to avoid problems with diskless setups.
 if [[ -x /usr/bin/id ]] && (($(id -u) != 0)); then  if [[ -x /usr/bin/id ]] && (($(id -u) != 0)); then
         echo "${0##*/}: need root privileges"          print -u2 "${0##*/}: need root privileges"
         exit 1          exit 1
 fi  fi
   

Legend:
Removed from v.1.228  
changed lines
  Added in v.1.229