summaryrefslogtreecommitdiff
path: root/scripts/vyatta-grub-setup
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-grub-setup')
-rwxr-xr-xscripts/vyatta-grub-setup18
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup
index c37bf7a8..26a322f2 100755
--- a/scripts/vyatta-grub-setup
+++ b/scripts/vyatta-grub-setup
@@ -69,7 +69,7 @@ serial_console="console=tty0 console=ttyS0,9600"
# 65000 (16bit) | 785 788 791 794
# 16.7 Mill.(24bit)| 786 789 792 795
#
-vga_logo="vga=785"
+#vga_logo="vga=785"
# get list of kernels, except Xen
kernel_versions=$(ls $ROOTFSDIR/boot/vmlinuz-* 2> /dev/null | grep -v xen | awk -F/ '{ print $5 }' | sed 's/vmlinuz//g' | sort -r)
@@ -178,7 +178,7 @@ fi
if [ -f "$ROOTFSDIR/boot/vmlinuz" ] && ! eval $UNION ; then
# Set first system boot option. Make KVM the default console in this one.
- echo -e "menuentry \"Vyatta OFR (KVM console)\" {"
+ echo -e "menuentry \"Vyatta (KVM console)\" {"
echo -e "\tlinux /boot/vmlinuz $GRUB_OPTIONS $vga_logo $vty_console"
echo -e "\tinitrd /boot/initrd.img"
echo -e "}"
@@ -186,7 +186,7 @@ fi
# Set the second system boot option. Make the serial port be the default
# console in this one.
echo
- echo -e "menuentry \"Vyatta OFR (Serial console)\" {"
+ echo -e "menuentry \"Vyatta (Serial console)\" {"
echo -e "\tlinux /boot/vmlinuz $GRUB_OPTIONS $serial_console"
echo -e "\tinitrd /boot/initrd.img"
echo -e "}"
@@ -196,12 +196,12 @@ fi
if [ -n "$union_kernel_versions" ]; then
for kversion in $union_kernel_versions; do
echo
- echo -e "menuentry \"Vyatta OFR linux$kversion (KVM console)\" {"
+ echo -e "menuentry \"Vyatta linux$kversion (KVM console)\" {"
echo -e "\tlinux /boot/$livedir/vmlinuz$kversion $GRUB_OPTIONS $vga_logo $vty_console"
echo -e "\tinitrd /boot/$livedir/initrd.img$kversion"
echo -e "}"
echo
- echo -e "menuentry \"Vyatta OFR linux$kversion (Serial console)\" {"
+ echo -e "menuentry \"Vyatta linux$kversion (Serial console)\" {"
echo -e "\tlinux /boot/$livedir/vmlinuz$kversion $GRUB_OPTIONS $serial_console"
echo -e "\tinitrd /boot/$livedir/initrd.img$kversion"
echo -e "}"
@@ -212,12 +212,12 @@ fi
if [ -n "$kernel_versions" ]; then
for kversion in $kernel_versions; do
echo
- echo -e "menuentry \"Vyatta OFR linux$kversion (KVM console)\" {"
+ echo -e "menuentry \"Vyatta linux$kversion (KVM console)\" {"
echo -e "\tlinux /boot/vmlinuz$kversion $GRUB_OPTIONS $vga_logo $vty_console"
echo -e "\tinitrd /boot/initrd.img$kversion"
echo -e "}"
echo
- echo -e "menuentry \"Vyatta OFR linux$kversion (Serial console)\" {"
+ echo -e "menuentry \"Vyatta linux$kversion (Serial console)\" {"
echo -e "\tlinux /boot/vmlinuz$kversion $GRUB_OPTIONS $serial_console"
echo -e "\tinitrd /boot/initrd.img$kversion"
echo -e "}"
@@ -228,13 +228,13 @@ fi
# options for both serial and KVM console.
echo
- echo -e "menuentry \"Root password reset to factory (KVM console)\" {"
+ echo -e "menuentry \"Lost password change (KVM console)\" {"
echo -e "\tlinux /boot/vmlinuz $GRUB_OPTIONS $vga_logo $vty_console init=$pass_reset"
echo -e "\tinitrd /boot/initrd.img"
echo -e "}"
echo
- echo -e "menuentry \"Root password reset to factory (Serial console)\" {"
+ echo -e "menuentry \"Lost password change (Serial console)\" {"
echo -e "\tlinux /boot/vmlinuz $GRUB_OPTIONS $serial_console init=$pass_reset"
echo -e "\tinitrd /boot/initrd.img"
echo -e "}"