16 lines
200 B
Plaintext
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 ''
|
||
|
}
|