xref: /freebsd/libexec/rc/rc.d/powerd (revision af0a81b6470aba4af4a24ae9804053722846ded4)
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