aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslinux/update-extlinux.conf
diff options
context:
space:
mode:
authorDubiousjim <dubiousjim@gmail.com>2013-06-29 16:41:25 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2013-06-30 11:19:51 +0000
commitfaf4eed0066294cad5e0b71f5a9315f42abd9a33 (patch)
treef97591a0d2df0b61684eb1ad2d31baf60b88d103 /main/syslinux/update-extlinux.conf
parent589d7d3981b9de2534cb5b4f9c6567425319341e (diff)
downloadaports-faf4eed0066294cad5e0b71f5a9315f42abd9a33.tar.bz2
aports-faf4eed0066294cad5e0b71f5a9315f42abd9a33.tar.xz
main/syslinux: add reboot entry
We don't install /boot/reboot.c32, but if it's present (it can be copied from /usr/share/syslinux/reboot.c32), we add a menu entry for it---just like with memtest. Add a comment to /etc/update-extlinux.conf stating this. It'd already be possible to get a reboot entry using the /etc/update-extlinux.d/ folder, but this patch provides a more intelligent framework with nicer layout. The syslinux sourceball also provides a shutdown module, but I couldn't get this to work and looking at the sources reveals it to be for machines with APM enabled. Not sure how many machines that applies to anymore.
Diffstat (limited to 'main/syslinux/update-extlinux.conf')
-rw-r--r--main/syslinux/update-extlinux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/syslinux/update-extlinux.conf b/main/syslinux/update-extlinux.conf
index 59f9e60c40..5a36a1f1c1 100644
--- a/main/syslinux/update-extlinux.conf
+++ b/main/syslinux/update-extlinux.conf
@@ -42,3 +42,7 @@ default=grsec
# options to hand to xen hypervisor, useful ones are:
# dom0_mem=256M (give domain-0 environment 256M ram)
xen_opts=dom0_mem=256M
+
+# if you copy /usr/share/syslinux/reboot.c32 to /boot/, a menu entry will be auto-generated for it
+
+# a menu entry will also be auto-generated for /boot/memtest, if you download it and install it