xref: /freebsd/libexec/rc/rc.d/powerd (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
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
18run_rc_command "$1"
19