History log of /netbsd-src/etc/powerd/scripts/sleep_button (Results 1 – 11 of 11)
Revision Date Author Comments
# 1541a8a5 13-Jul-2017 roy <roy@NetBSD.org>

Remove the stopping and starting of various network scripts on
sleep / resume.
This should no longer be needed now the various applications
(dhcpcd, ntpd, wpa_supplicant et all) are more aware to the

Remove the stopping and starting of various network scripts on
sleep / resume.
This should no longer be needed now the various applications
(dhcpcd, ntpd, wpa_supplicant et all) are more aware to the network state
as all interface carriers should be brought down and up again.

Fixes PR misc/52397.

show more ...


# 3ed028dc 17-Oct-2011 jmcneill <jmcneill@NetBSD.org>

restart dhcpcd if we get a "released" event from the vmt0 driver


# 256df2d4 17-Sep-2011 jym <jym@NetBSD.org>

- use -q to test for presence of a sysctl(7) variable silently
- modify powerd(8) sleep_button script so it can handle the soon-to-be
Xen suspend command.


# b52bb129 27-May-2011 plunky <plunky@NetBSD.org>

provide a new 'bluetooth' rc.d script, to handle Bluetooth configuration
in a simpler manner. This replaces btattach, btconfig, bthcid, btdevctl
and sdpd scripts, and also should not require any conf

provide a new 'bluetooth' rc.d script, to handle Bluetooth configuration
in a simpler manner. This replaces btattach, btconfig, bthcid, btdevctl
and sdpd scripts, and also should not require any configuration settings
other than "bluetooth=YES", though the full range of configurations is
still possible.

show more ...


# 7373892a 31-Dec-2010 jruoho <jruoho@NetBSD.org>

Use hw.acpi.sleep.state instead of machdep.sleep_state.


# 54e08a28 19-Sep-2010 abs <abs@NetBSD.org>

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


# e0099699 06-Jun-2008 jmcneill <jmcneill@NetBSD.org>

Stop and start bluetooth services across suspend.


# 1cba716b 21-May-2008 jmcneill <jmcneill@NetBSD.org>

If machdep.sleep_state is present, use it in favour of apm. Also stop and
start wpa_supplicant across suspend/resume just to be safe.


# d54c2134 26-Sep-2006 jmcneill <jmcneill@NetBSD.org>

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.


# adfa67a1 30-Oct-2003 mycroft <mycroft@NetBSD.org>

Oops, fix comments.


# 87c704ca 30-Oct-2003 mycroft <mycroft@NetBSD.org>

Add dummy scripts for these events.