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:
2026-04-27 14:07:02 +02:00
parent 4d9ec0d356
commit 9974facd45
+2
View File
@@ -8,6 +8,8 @@
# #
# Run as root on a target machine before any Kickstart installation. # 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 SHRINK_MIB=4096
OEMDRV_LABEL="OEMDRV" OEMDRV_LABEL="OEMDRV"
MOUNT_POINT="/opt/sys_config" MOUNT_POINT="/opt/sys_config"