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/rules/filesystem/fs/etc/rc.d/acpi-hack

16 lines
200 B
Plaintext

start()
{
dmesg | grep 'ACPI: reboot needed'
if [ $? -eq 0 ]; then
echo 'Rebooting to enable ACPI'
reboot
else
echo 'ACPI enabled'
fi
}
stop()
{
echo ''
}