aboutsummaryrefslogtreecommitdiff
path: root/mail/drac/files
diff options
context:
space:
mode:
authorJeremy Chadwick <koitsu@FreeBSD.org>2006-11-22 01:23:30 +0000
committerJeremy Chadwick <koitsu@FreeBSD.org>2006-11-22 01:23:30 +0000
commit8ee821f5cfc88098658df2c6f730d59677a22215 (patch)
treec2f3079c4e46dcba189fdbd0c5bf207b800d20f0 /mail/drac/files
parent78a5c537e3a4ead9ecb70dad7bdbe82f42d3f5fd (diff)
downloadports-8ee821f5cfc88098658df2c6f730d59677a22215.tar.gz
ports-8ee821f5cfc88098658df2c6f730d59677a22215.zip
- Fixups for rc.subr dracd script (likely did not work without
some dracd_xxx variables already defined in rc.conf) - Add new FTP mirror, since mirrors for this are few - Remove pkg-message; that notice has been around long enough :) - Grammatical fixes/wording in pkg-descr - Take over as maintainer of this port PR: ports/105722 Reviewed by: philip Approved by: philip
Notes
Notes: svn path=/head/; revision=177776
Diffstat (limited to 'mail/drac/files')
-rw-r--r--mail/drac/files/dracd.sh.in21
1 files changed, 12 insertions, 9 deletions
diff --git a/mail/drac/files/dracd.sh.in b/mail/drac/files/dracd.sh.in
index 9a8d3d6a1b99..341c90cf6aca 100644
--- a/mail/drac/files/dracd.sh.in
+++ b/mail/drac/files/dracd.sh.in
@@ -1,20 +1,17 @@
#!/bin/sh
# $FreeBSD$
-
+#
# PROVIDE: dracd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
-
-# Define these dracd_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-# /etc/rc.conf.d/dracd
#
-# DO NOT CHANGE THESE DEFAULT VALUES HERE
+# 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.
#
-dracd_enable=${dracd_enable-"NO"}
-dracd_flags=${dracd_flags-""}
. %%RC_SUBR%%
@@ -23,4 +20,10 @@ rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/rpc.dracd"
load_rc_config $name
+
+: ${dracd_enable="NO"}
+: ${dracd_flags=""}
+
+required_files="%%PREFIX%%/etc/dracd.allow"
+
run_rc_command "$1"