summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2009-04-14 14:49:49 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2009-04-14 14:49:49 -0700
commit363165003112d3a0b222ec4a89d6951a4d41708b (patch)
tree9218cc9f6aa3bdc9bbe2f96a3d42c412e35e775f /scripts
parent8270392c9b5801e8ec9f54fb07cb9a282add390d (diff)
downloadvyatta-cfg-quagga-363165003112d3a0b222ec4a89d6951a4d41708b.tar.gz
vyatta-cfg-quagga-363165003112d3a0b222ec4a89d6951a4d41708b.zip
handle default xen kernel
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-grub-setup5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup
index c7bfbcd0..3510cfbd 100755
--- a/scripts/vyatta-grub-setup
+++ b/scripts/vyatta-grub-setup
@@ -113,6 +113,11 @@ else
fi
fi
+if [ -n "$xen_kernel_version" ] || [ -n "$union_xen_kernel_version" ]; then
+ # xen kernel exists. default to the first xen kernel.
+ default_console=0
+fi
+
# Check for diagnostic partition residing in first partition of drive
# holding the root partition.