summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsetup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.sh b/setup.sh
index d77b599..815a577 100755
--- a/setup.sh
+++ b/setup.sh
@@ -111,7 +111,7 @@ fi
EXTRA_PARAMS=$(tr '\n' ' ' < ./etc/kernel/cmdline | xargs)
if [ -n "$EXTRA_PARAMS" ]; then
- TARGET_CONTENT=$(cat /etc/kernel/cmdline)
+ TARGET_CONTENT=$(sudo cat /etc/kernel/cmdline)
# Check if the extra parameters are already present to ensure idempotency
if [[ "$TARGET_CONTENT" != *"$EXTRA_PARAMS"* ]]; then