virtual-appliance/scripts/acpi.start

11 lines
186 B
Plaintext
Raw Normal View History

2012-12-16 16:49:21 +01:00
#!/bin/sh
script="/etc/acpi/PWRF/00000080"
if [ ! -f $script ] ; then
mkdir -p `dirname $script`
echo '#!/bin/sh\n/sbin/halt\n' > $script
chmod +x $script
fi
busybox acpid