Fix install.sh exiting immediately when not run as root
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
#
|
||||
# Run as root on a target machine before any Kickstart installation.
|
||||
|
||||
[[ "$EUID" -eq 0 ]] || { echo "ERROR: This script must be run as root." >&2; exit 1; }
|
||||
|
||||
SHRINK_MIB=4096
|
||||
OEMDRV_LABEL="OEMDRV"
|
||||
MOUNT_POINT="/opt/sys_config"
|
||||
|
||||
Reference in New Issue
Block a user