aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBabak Farrokhi <farrokhi@FreeBSD.org>2016-05-15 03:11:32 +0000
committerBabak Farrokhi <farrokhi@FreeBSD.org>2016-05-15 03:11:32 +0000
commit8c89ad787025127f75eb61fc2b8e5fbbb6a43dc1 (patch)
tree6b68bd734069c897ab082edf3cc1b41b7eff4b9d
parent00e80e472064785041490bbd9329df100bb44e1e (diff)
downloadports-8c89ad787025127f75eb61fc2b8e5fbbb6a43dc1.tar.gz
ports-8c89ad787025127f75eb61fc2b8e5fbbb6a43dc1.zip
Notes
-rw-r--r--net/radvd/files/radvd.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/radvd/files/radvd.in b/net/radvd/files/radvd.in
index 7b626140a996..4796f9fc17cc 100644
--- a/net/radvd/files/radvd.in
+++ b/net/radvd/files/radvd.in
@@ -16,10 +16,13 @@ rcvar=radvd_enable
pidfile=/var/run/${name}.pid
command="%%PREFIX%%/sbin/${name}"
-command_args="-p ${pidfile}"
-required_files="%%PREFIX%%/etc/${name}.conf"
load_rc_config $name
: ${radvd_enable="NO"}
+: ${radvd_config="%%PREFIX%%/etc/${name}.conf"}
+
+required_files="${radvd_config}"
+
+command_args="-p ${pidfile} -C ${radvd_config}"
run_rc_command "$1"