add acpid scripts

This commit is contained in:
Stephan Raue 2009-05-01 19:40:33 +02:00
parent 661e435488
commit 3763e591d4
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#!/bin/sh
#
# start the ACPI daemon subsystem
#
# runlevels: openelec, text, debug
. /etc/sysconfig
progress "Starting ACPI daemon"
acpid 2>&1 > /dev/null
exit 0

View File

@ -27,4 +27,8 @@ if [ "$2" = system ]; then
mkdir -p $INSTALL/sbin
cp $PKG_DIR/scripts/init.system $INSTALL/sbin/init.system
# acpid specific
mkdir -p $INSTALL/etc/acpi/PWRF
cp $PKG_DIR/scripts/acpi_powerbtn $INSTALL/etc/acpi/PWRF/00000080
fi

View File

@ -0,0 +1,3 @@
#!/bin/sh
/sbin/poweroff