From 21595371bb747108725ae55bfec85e001be46e49 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sun, 17 Oct 2010 18:59:46 +0200 Subject: Add new menu entry "Power off" --- archiso2dual/archiso2dual | 1 + archiso2dual/syslinux.cfg | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'archiso2dual') diff --git a/archiso2dual/archiso2dual b/archiso2dual/archiso2dual index 5b17b4a..c7dafee 100755 --- a/archiso2dual/archiso2dual +++ b/archiso2dual/archiso2dual @@ -51,6 +51,7 @@ syslinux_copy() { echo "Executing: ${FUNCNAME}" cp ${_v} $work_dir/i686/mnt/boot/{memtest*,releasenotes.txt,splash.png} $work_dir/iso/boot/ cp ${_v} $work_dir/i686/mnt/boot/syslinux/*.c32 $work_dir/iso/boot/syslinux/ + cp ${_v} $work_dir/i686/mnt/boot/syslinux/poweroff.com $work_dir/iso/boot/syslinux/ cp ${_v} $work_dir/i686/mnt/boot/syslinux/memdisk $work_dir/iso/boot/syslinux/ cp ${_v} $work_dir/i686/mnt/boot/syslinux/isolinux.bin $work_dir/iso/boot/syslinux/ cp ${_v} $work_dir/i686/mnt/boot/syslinux/pxelinux.0 $work_dir/iso/boot/syslinux/ diff --git a/archiso2dual/syslinux.cfg b/archiso2dual/syslinux.cfg index c32b9fd..e7f9bf6 100644 --- a/archiso2dual/syslinux.cfg +++ b/archiso2dual/syslinux.cfg @@ -77,4 +77,8 @@ LABEL reboot MENU LABEL Reboot KERNEL reboot.c32 +LABEL poweroff +MENU LABEL Power Off +KERNEL poweroff.com + ONTIMEOUT arch32 -- cgit v1.2.3-70-g09d2