Add new menu entry "Power off"
This commit is contained in:
parent
13c541e8a6
commit
21595371bb
@ -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/
|
||||
|
@ -77,4 +77,8 @@ LABEL reboot
|
||||
MENU LABEL Reboot
|
||||
KERNEL reboot.c32
|
||||
|
||||
LABEL poweroff
|
||||
MENU LABEL Power Off
|
||||
KERNEL poweroff.com
|
||||
|
||||
ONTIMEOUT arch32
|
||||
|
@ -42,6 +42,7 @@ bootfiles: root-image
|
||||
cp $(WORKDIR)/root-image/usr/share/licenses/common/GPL2/license.txt $(WORKDIR)/iso/boot/memtest.COPYING
|
||||
cp -r boot-files/* $(WORKDIR)/iso/boot/
|
||||
cp $(WORKDIR)/root-image/usr/lib/syslinux/*.c32 $(WORKDIR)/iso/boot/syslinux/
|
||||
cp $(WORKDIR)/root-image/usr/lib/syslinux/poweroff.com $(WORKDIR)/iso/boot/syslinux/
|
||||
cp $(WORKDIR)/root-image/usr/lib/syslinux/isolinux.bin $(WORKDIR)/iso/boot/syslinux/
|
||||
cp $(WORKDIR)/root-image/usr/lib/syslinux/memdisk $(WORKDIR)/iso/boot/syslinux/
|
||||
cp $(WORKDIR)/root-image/usr/lib/syslinux/pxelinux.0 $(WORKDIR)/iso/boot/syslinux/
|
||||
|
@ -66,4 +66,8 @@ LABEL reboot
|
||||
MENU LABEL Reboot
|
||||
KERNEL reboot.c32
|
||||
|
||||
LABEL poweroff
|
||||
MENU LABEL Power Off
|
||||
KERNEL poweroff.com
|
||||
|
||||
ONTIMEOUT arch
|
||||
|
Loading…
Reference in New Issue
Block a user