From a73a3ee38de4368e1c67004a0c9ba7f2daced898 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Wed, 5 Jul 2017 02:28:04 +0100 Subject: [PATCH] trying to fix the script --- setip.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setip.sh b/setip.sh index ca1674b..5a968a6 100755 --- a/setip.sh +++ b/setip.sh @@ -13,11 +13,11 @@ VDMSCRIPT="https://raw.githubusercontent.com/vdm-io/dynamic-ip/$BRANCH/setip.sh" VDMIPSERVER="https://www.vdm.io/setip" # Require script to be run via sudo, but not as root -if [[ $EUID -ne 0 ]]; then - - echo "Script must be run with root privilages!" - exit 1 -fi +#if [[ $EUID -ne 0 ]]; then +# +# echo "Script must be run with root privilages!" +# exit 1 +#fi # Set cronjob without removing existing if [ -f $VDMHOME/vdmip.cron ]; then