Files
finit/Changelog
T
Claudio Matsuoka 9a2b6890e5 Write ACPI sleep state to /sys/power/state instead of /proc/acpi/sleep
From http://acpi.sourceforge.net/documentation/sleep.html:

/proc/acpi is being replaced by interfaces in /sys and new software
should not look in /proc. Users of 2.6 are advised to use the new file
in sysfs: /sys/power/state.

Metalshark says:
February 15th, 2008 at 6:15 am

In shutdown you use “/proc/acpi/sleep”, would it be advisable to use the
new sysfs method and use that if available and if not use proc (at runtime)
with compile time options to disable proc/sysfs methods?

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2008-02-16 19:37:21 -02:00

11 lines
325 B
Plaintext

0.2 ()
- replace system("touch") with touch() in finit-mod (Metalshark)
- disable NO_HCTOSYS by default to match stock Eeepc kernel
- drop system("rm -f") to clean /tmp, its a fresh mounted tmpfs
- write ACPI sleep state to /sys/power/state instead of
/proc/acpi/sleep (Metalshark)
0.1 (20081214)
- initial release