summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img4
1 files changed, 2 insertions, 2 deletions
diff --git a/make_boot_img b/make_boot_img
index 63286d61f..ceed9091f 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -95,12 +95,12 @@ sub msg_boot_img {
initrd("${mnt}2", "$mnt/$type.rdz");
my $timeout = $ks ? 1 : 72;
+ my $setmode = !($type eq 'hd') && "mode 0x101\n";
output("$mnt/syslinux.cfg", "
default linux
prompt 1
timeout $timeout
-mode 0x101
-display boot.msg
+${setmode}display boot.msg
F1 help.msg
F2 boot.msg
label linux