This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/packages/filesystem/fs/etc/rc.d/acpi-hack

16 lines
200 B
Plaintext
Raw Normal View History

2013-07-13 17:19:22 +01:00
start()
{
dmesg | grep 'ACPI: reboot needed'
if [ $? -eq 0 ]; then
echo 'Rebooting to enable ACPI'
reboot
else
echo 'ACPI enabled'
fi
}
stop()
{
echo ''
}