diff options
author | Babak Farrokhi <farrokhi@FreeBSD.org> | 2016-05-15 03:11:32 +0000 |
---|---|---|
committer | Babak Farrokhi <farrokhi@FreeBSD.org> | 2016-05-15 03:11:32 +0000 |
commit | 8c89ad787025127f75eb61fc2b8e5fbbb6a43dc1 (patch) | |
tree | 6b68bd734069c897ab082edf3cc1b41b7eff4b9d /net/radvd/files/radvd.in | |
parent | 00e80e472064785041490bbd9329df100bb44e1e (diff) | |
download | ports-8c89ad787025127f75eb61fc2b8e5fbbb6a43dc1.tar.gz ports-8c89ad787025127f75eb61fc2b8e5fbbb6a43dc1.zip |
Notes
Diffstat (limited to 'net/radvd/files/radvd.in')
-rw-r--r-- | net/radvd/files/radvd.in | 7 |
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" |