blob: 8ebc9cc2dc7fe6db946bd249e3b73caad4327245 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
#
#
# PROVIDE: powerd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: nojail shutdown
. /etc/rc.subr
name="powerd"
desc="Modify the power profile based on AC line state"
rcvar="powerd_enable"
command="/usr/sbin/${name}"
load_rc_config $name
# doesn't make sense to run in a svcj: privileged operations
powerd_svcj="NO"
run_rc_command "$1"
|