Start-up script for casperd daemon.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Pawel Jakub Dawidek 2013-12-16 11:03:59 +00:00
parent 6f0468df7a
commit 49a6d80306
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259463
3 changed files with 21 additions and 0 deletions

View File

@ -658,6 +658,7 @@ newsyslog_enable="YES" # Run newsyslog at startup.
newsyslog_flags="-CN" # Newsyslog flags to create marked files
mixer_enable="YES" # Run the sound mixer.
opensm_enable="NO" # Opensm(8) for infiniband devices defaults to off
casperd_enable="NO" # casperd(8) daemon
##############################################################
### Jail Configuration (see rc.conf(5) manual page) ##########

View File

@ -26,6 +26,7 @@ FILES= DAEMON \
bridge \
bsnmpd \
${_bthidd} \
casperd \
ccd \
cleanvar \
cleartmp \

19
etc/rc.d/casperd Normal file
View File

@ -0,0 +1,19 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: casperd
# REQUIRE: NETWORKING syslogd
# BEFORE: DAEMON
# KEYWORD: shutdown
. /etc/rc.subr
name="casperd"
rcvar="casperd_enable"
pidfile="/var/run/${name}.pid"
command="/sbin/${name}"
load_rc_config $name
run_rc_command "$1"