xref: /freebsd/libexec/rc/rc.d/powerd (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: powerd
7# REQUIRE: DAEMON
8# BEFORE: LOGIN
9# KEYWORD: nojail shutdown
10
11. /etc/rc.subr
12
13name="powerd"
14desc="Modify the power profile based on AC line state"
15rcvar="powerd_enable"
16command="/usr/sbin/${name}"
17
18load_rc_config $name
19run_rc_command "$1"
20