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" --- configs/syslinux-iso/Makefile | 1 + configs/syslinux-iso/boot-files/syslinux/syslinux.cfg | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'configs') diff --git a/configs/syslinux-iso/Makefile b/configs/syslinux-iso/Makefile index 3feb27f..0298004 100644 --- a/configs/syslinux-iso/Makefile +++ b/configs/syslinux-iso/Makefile @@ -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/ diff --git a/configs/syslinux-iso/boot-files/syslinux/syslinux.cfg b/configs/syslinux-iso/boot-files/syslinux/syslinux.cfg index 57a63fc..0760e2e 100644 --- a/configs/syslinux-iso/boot-files/syslinux/syslinux.cfg +++ b/configs/syslinux-iso/boot-files/syslinux/syslinux.cfg @@ -66,4 +66,8 @@ LABEL reboot MENU LABEL Reboot KERNEL reboot.c32 +LABEL poweroff +MENU LABEL Power Off +KERNEL poweroff.com + ONTIMEOUT arch -- cgit v1.2.3-70-g09d2