8 Replies Latest reply on Feb 9, 2015 2:40 PM by MPayne

    Suggestion for small improvement to flashall.sh


      How about adding the following code to make sure that the flashall.sh script is run as root? I faced this issue and was confused by the fact that the script _seemed_ to run through all the steps without spitting out any warning.


      # Make sure only root can run our script

      if [[ $EUID -ne 0 ]]; then

         echo "This script must be run as root" 1>&2

         exit 1