Add an rc script for powerd(8).
This commit is contained in:
parent
c3c5f9cda2
commit
7c95496b25
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142579
20
etc/rc.d/powerd
Normal file
20
etc/rc.d/powerd
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: powerd
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: LOGIN
|
||||
# KEYWORD: nojail
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="powerd"
|
||||
rcvar=`set_rcvar`
|
||||
command="/usr/sbin/powerd"
|
||||
|
||||
load_rc_config $name
|
||||
command_args="${powerd_flags}"
|
||||
|
||||
run_rc_command "$1"
|
Loading…
Reference in New Issue
Block a user