diff options
author | pjd <pjd@FreeBSD.org> | 2013-12-16 11:03:59 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2013-12-16 11:03:59 +0000 |
commit | 39540769e9de736dce38033ba8535de54dfb2e8e (patch) | |
tree | 4c02fdb2c34a5b1018e5a872d7056409c50f2a17 /etc/rc.d/casperd | |
parent | 753c2d8f17960ecc4996efef8f4502290067be80 (diff) | |
download | FreeBSD-src-39540769e9de736dce38033ba8535de54dfb2e8e.zip FreeBSD-src-39540769e9de736dce38033ba8535de54dfb2e8e.tar.gz |
Start-up script for casperd daemon.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'etc/rc.d/casperd')
-rw-r--r-- | etc/rc.d/casperd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/rc.d/casperd b/etc/rc.d/casperd new file mode 100644 index 0000000..0b80169 --- /dev/null +++ b/etc/rc.d/casperd @@ -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" |