From a3ce383b4ab51042b585debdb73a0db6cda80ad6 Mon Sep 17 00:00:00 2001 From: solomoncyj Date: Sun, 24 Apr 2022 08:57:20 +0800 Subject: [PATCH] Update startup.sh --- scripts/startup.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/startup.sh b/scripts/startup.sh index e5b40dd..98bba69 100755 --- a/scripts/startup.sh +++ b/scripts/startup.sh @@ -5,11 +5,7 @@ # @brief This script will ask users about their prefrences like disk, file system, timezone, keyboard layout, user name, password, etc. # @stdout Output routed to startup.log # @stderror Output routed to startup.log -# @testing if script was run as root for full os run -if [ "$EUID" -ne 0 ] - then echo "Please run as root" - exit -fi + # @setting-header General Settings # @setting CONFIG_FILE string[$CONFIGS_DIR/setup.conf] Location of setup.conf to be used by set_option and all subsequent scripts. CONFIG_FILE=$CONFIGS_DIR/setup.conf