summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.vyatta.com>2008-09-17 15:18:15 -0700
committerRobert Bays <rbays@moresby.vyatta.com>2008-09-17 15:18:15 -0700
commit171863b765d4670bedd65c4f945f0acd458ddb38 (patch)
tree421dc4ae640f8b4935e01310001a7ce292088fa7 /scripts
parent8db79c9b0aa8052e4dee0f073e945d68370a0210 (diff)
downloadvyatta-cfg-system-171863b765d4670bedd65c4f945f0acd458ddb38.tar.gz
vyatta-cfg-system-171863b765d4670bedd65c4f945f0acd458ddb38.zip
fix bug 3863
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/grub-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/grub-setup b/scripts/grub-setup
index a3ecffdf..70da564e 100755
--- a/scripts/grub-setup
+++ b/scripts/grub-setup
@@ -146,7 +146,7 @@ vga_logo="vga=785"
done
fi
- if [ -f "$ROOTFSDIR/boot/vmlinuz" ] && [ ! eval $UNION ]; then
+ 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 "\tlinux /boot/vmlinuz $GRUB_OPTIONS $vga_logo $vty_console"