Imported sources from subversion.
This commit is contained in:
15
packages/filesystem/fs/etc/rc.d/acpi-hack
Normal file
15
packages/filesystem/fs/etc/rc.d/acpi-hack
Normal file
@@ -0,0 +1,15 @@
|
||||
start()
|
||||
{
|
||||
dmesg | grep 'ACPI: reboot needed'
|
||||
if [ $? -eq 0 ]; then
|
||||
echo 'Rebooting to enable ACPI'
|
||||
reboot
|
||||
else
|
||||
echo 'ACPI enabled'
|
||||
fi
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
echo ''
|
||||
}
|
||||
Reference in New Issue
Block a user