diff options
Diffstat (limited to 'net/gnu-dico/files/dicod.in')
-rw-r--r-- | net/gnu-dico/files/dicod.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/gnu-dico/files/dicod.in b/net/gnu-dico/files/dicod.in new file mode 100644 index 000000000000..52bc90cdd93e --- /dev/null +++ b/net/gnu-dico/files/dicod.in @@ -0,0 +1,22 @@ +#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: dicod +# REQUIRE: DAEMON +# +# Add the following line to /etc/rc.conf to enable dicod: +# +# dicod_enable="YES" + + +dicod_enable=${dicod_enable-"NO"} + +. /etc/rc.subr + +name=dicod +rcvar=dicod_enable +command=%%PREFIX%%/sbin/dicod + +load_rc_config $name +run_rc_command "$1" |