Start-up script for casperd daemon.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6f0468df7a
commit
49a6d80306
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259463
@ -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) ##########
|
||||
|
@ -26,6 +26,7 @@ FILES= DAEMON \
|
||||
bridge \
|
||||
bsnmpd \
|
||||
${_bthidd} \
|
||||
casperd \
|
||||
ccd \
|
||||
cleanvar \
|
||||
cleartmp \
|
||||
|
19
etc/rc.d/casperd
Normal file
19
etc/rc.d/casperd
Normal 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"
|
Loading…
Reference in New Issue
Block a user