diff --git a/Installer.sh b/Installer.sh index 17fe946..119a2f3 100644 --- a/Installer.sh +++ b/Installer.sh @@ -23,6 +23,11 @@ GIT=https://git.ictcorpnet.com/b.waal/$REPO/raw # Pre-Check # ##------------## +if [ "$EUID" -ne 0 ] + then echo "Please run as root" + exit +fi + wget $GIT/$BRANCH/Config/OScheck.sh -O /tmp/OScheck.sh source /tmp/OScheck.sh