summaryrefslogtreecommitdiff
path: root/scripts/grub-setup
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/grub-setup')
-rwxr-xr-xscripts/grub-setup3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/grub-setup b/scripts/grub-setup
index bf293486..5607b098 100755
--- a/scripts/grub-setup
+++ b/scripts/grub-setup
@@ -81,7 +81,7 @@ serial_console="console=tty0 console=ttyS0,9600"
echo "Unable to read filesystem UUID. Exiting."
exit 1
else
- grub_root="root=UUID=$uuid ro"
+ GRUB_OPTIONS="$GRUB_OPTIONS root=UUID=$uuid ro"
fi
(
@@ -94,7 +94,6 @@ serial_console="console=tty0 console=ttyS0,9600"
# set serial console options
echo -e "serial --unit=0 --speed=9600"
echo "terminal serial"
- echo "set root=$grub_root"
echo ""
echo "echo -n Press ESC to enter the Grub menu..."