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