Add sudo info

Add sudo info
> Explains sudo ./your-file-name in place of ./your-file-name
master
Yenthe 10 years ago
parent 815257c75e
commit fa9148ee91

@ -46,7 +46,7 @@ OE_CONFIG="${OE_USER}-server"
# Make sure only root or sudoers can run our script
#--------------------------------------------------
if [ "$(id -u)" != "0" ]; then
echo "This script must be run with administrator rights!" 1>&2
echo "This script must be run with administrator rights! \nRun this script with sudo ./your-file-name in place of ./your-file-name." 1>&2
exit 1
fi

Loading…
Cancel
Save