summaryrefslogtreecommitdiff
path: root/scripts/vyatta-grub-setup
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-grub-setup')
-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.