From db05308cba24f5fb072c6de4fd47bd939685174e Mon Sep 17 00:00:00 2001 From: Draconis Date: Tue, 19 Feb 2019 14:13:15 +0100 Subject: [PATCH] root priviliges --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 34ed1e6..ac6b451 100755 --- a/install.sh +++ b/install.sh @@ -3,11 +3,11 @@ HOMEDIR=$HOME USERNAME=$(whoami) -USE_SUDO='' +#USE_SUDO='' if [ $USERNAME != "root" ]; then - USE_SUDO="sudo " -fi + echo "run this script with root priviliges !" +else # install the motd echo "Installing motd..." @@ -31,4 +31,4 @@ fi echo "" > /etc/motd chmod +x /usr/local/bin/motd chmod +x /usr/local/bin/lxc -exit 0 +fi