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