OSDN Git Service

Warn about Syslinux's reboot.c32 and poweroff.c32 requiring APM
authornl6720 <nl6720@gmail.com>
Sat, 4 Jul 2020 16:13:46 +0000 (19:13 +0300)
committernl6720 <nl6720@gmail.com>
Sat, 11 Jul 2020 12:10:34 +0000 (15:10 +0300)
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.

configs/releng/syslinux/archiso_tail.cfg

index e85d8e1..34b6c5b 100644 (file)
@@ -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