summaryrefslogtreecommitdiff
path: root/scripts/vyatta-grub-setup
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-27 16:25:19 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-27 16:25:19 -0700
commit056c3079a791a246907a442e35063f42af5b3a99 (patch)
tree546b79a3ecfbf4ec6be81861ef0a288dbd0699a8 /scripts/vyatta-grub-setup
parentd7dac288802f00b667f9a84b97fa524d339be24c (diff)
downloadvyatta-cfg-quagga-056c3079a791a246907a442e35063f42af5b3a99.tar.gz
vyatta-cfg-quagga-056c3079a791a246907a442e35063f42af5b3a99.zip
Standalone tool now changes vyatta not root password
Discourage use of root account by having tool handle changes to user vyatta. Also, don't use framebuffer by default since it slows things down
Diffstat (limited to 'scripts/vyatta-grub-setup')
-rwxr-xr-xscripts/vyatta-grub-setup6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup
index c37bf7a8..b3369ce4 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)
@@ -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 "}"