summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2020-07-04 19:13:46 +0300
committernl6720 <nl6720@gmail.com>2020-07-11 15:10:34 +0300
commit9f3c69ee08979930bd775d96a037335b9d39fba8 (patch)
treefb90c991e21ee8a2da950d11345bf3b6456c1649 /configs
parentfda96ac8ddc72a52a7ebed105e927f3067eb6da0 (diff)
downloadarchiso32-9f3c69ee08979930bd775d96a037335b9d39fba8.tar.xz
Warn about Syslinux's reboot.c32 and poweroff.c32 requiring APM
configs/releng/syslinux/archiso_tail.cfg: APM is old and some motherboard firmwares have removed support for it. reboot.c32 and poweroff.c32 will not work on such firmwares. Add a help text to "Reboot" and "Power Off" boot menu entries that warns about requiring APM.
Diffstat (limited to 'configs')
-rw-r--r--configs/releng/syslinux/archiso_tail.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/configs/releng/syslinux/archiso_tail.cfg b/configs/releng/syslinux/archiso_tail.cfg
index e85d8e1..34b6c5b 100644
--- a/configs/releng/syslinux/archiso_tail.cfg
+++ b/configs/releng/syslinux/archiso_tail.cfg
@@ -19,9 +19,17 @@ COM32 boot/syslinux/hdt.c32
APPEND modules_alias=boot/syslinux/hdt/modalias.gz pciids=boot/syslinux/hdt/pciids.gz
LABEL reboot
+TEXT HELP
+Reboot computer.
+The computer's firmware must support APM.
+ENDTEXT
MENU LABEL Reboot
COM32 boot/syslinux/reboot.c32
LABEL poweroff
+TEXT HELP
+Power off computer.
+The computer's firmware must support APM.
+ENDTEXT
MENU LABEL Power Off
COM32 boot/syslinux/poweroff.c32