diff options
Diffstat (limited to 'mail/drac/files/dracd.in')
-rw-r--r-- | mail/drac/files/dracd.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mail/drac/files/dracd.in b/mail/drac/files/dracd.in new file mode 100644 index 000000000000..83054f707369 --- /dev/null +++ b/mail/drac/files/dracd.in @@ -0,0 +1,28 @@ +#!/bin/sh +# $FreeBSD$ +# +# PROVIDE: dracd +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf to enable postfix: +# dracd_enable (bool): Set it to "YES" to enable rpc.dracd. +# Default is "NO". +# dracd_flags (str): Set to "" by default. +# Extra flags passed to rpc.dracd. +# + +. /etc/rc.subr + +name="dracd" +rcvar=dracd_enable +command="%%PREFIX%%/sbin/rpc.dracd" + +load_rc_config $name + +: ${dracd_enable="NO"} + +required_files="%%PREFIX%%/etc/dracd.allow" + +run_rc_command "$1" |