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