|
|
|
@ -46,7 +46,7 @@ OE_CONFIG="${OE_USER}-server"
|
|
|
|
# Make sure only root or sudoers can run our script
|
|
|
|
# Make sure only root or sudoers can run our script
|
|
|
|
#--------------------------------------------------
|
|
|
|
#--------------------------------------------------
|
|
|
|
if [ "$(id -u)" != "0" ]; then
|
|
|
|
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
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|