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