aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rwxr-xr-xmain/syslinux/update-extlinux7
-rw-r--r--main/syslinux/update-extlinux.conf4
2 files changed, 11 insertions, 0 deletions
diff --git a/main/syslinux/update-extlinux b/main/syslinux/update-extlinux
index 0dc360170b..1c5fc5c455 100755
--- a/main/syslinux/update-extlinux
+++ b/main/syslinux/update-extlinux
@@ -151,6 +151,13 @@ if [ -f "/boot/memtest" ]; then
echo "" >> $conf.new
fi
+if [ -f "/boot/reboot.c32" ]; then
+ everbose "Found reboot"
+ echo "LABEL reboot" >> $conf.new
+ echo " MENU LABEL Reboot" >> $conf.new
+ echo " COM32 reboot.c32" >> $conf.new
+ echo "" >> $conf.new
+fi
if [ "$overwrite" != "1" ]; then
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