2003-04-18 09:19:35 +04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2004-08-13 22:08:03 +04:00
|
|
|
# $NetBSD: powerd,v 1.2 2004/08/13 18:08:03 mycroft Exp $
|
2003-04-18 09:19:35 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: powerd
|
|
|
|
# REQUIRE: DAEMON
|
|
|
|
# BEFORE: LOGIN
|
|
|
|
|
2004-08-13 22:08:03 +04:00
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
2003-04-18 09:19:35 +04:00
|
|
|
|
|
|
|
name="powerd"
|
|
|
|
rcvar=$name
|
|
|
|
command="/usr/sbin/${name}"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|