Commit Graph

9 Commits

Author SHA1 Message Date
jruoho
e26a5e9d52 Remove the apm(8) example. Instead point to the sleep_button -script. 2010-12-31 09:33:10 +00:00
macallan
3f7245fde9 adapt to how backlight control is supposed to work - just flip the switch and
we don't need to save the brightness level
2010-10-28 02:06:02 +00:00
abs
54e08a2860 use '/etc/rc.d/apmd onestatus' rather than '/etc/rc.d/apmd status',
so we DTRT if apmd is set to NO in rc.conf
2010-09-19 21:47:28 +00:00
macallan
0b888e557e save backlight level and turn it off on lid close, restore on lid open 2010-09-14 04:37:04 +00:00
jmcneill
0814e53527 Don't try to standby on a lid_switch pressed event, this has a few problems:
1. ACPI S1 doesn't work properly for many people on NetBSD
  2. It prevents someone from using their laptop with an external display
2008-06-20 02:38:00 +00:00
jnemeth
38322a9a53 fix a couple of comments 2006-09-27 01:41:45 +00:00
jmcneill
d54c2134a8 Add useful example scripts for powerd acadapter, lid_switch, and
sleep_button events. These use the /dev/apm interface, so should be useful
on more than just i386.
2006-09-26 02:17:38 +00:00
mycroft
adfa67a197 Oops, fix comments. 2003-10-30 17:42:23 +00:00
mycroft
87c704cac0 Add dummy scripts for these events. 2003-10-30 17:34:45 +00:00