diff options
Diffstat (limited to 'net/miniupnpd')
-rw-r--r-- | net/miniupnpd/files/miniupnpd.sh.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net/miniupnpd/files/miniupnpd.sh.in b/net/miniupnpd/files/miniupnpd.sh.in index 8d5905528523..e2357ecddc32 100644 --- a/net/miniupnpd/files/miniupnpd.sh.in +++ b/net/miniupnpd/files/miniupnpd.sh.in @@ -8,14 +8,17 @@ . %%RC_SUBR%% -miniupnpd_enable=${miniupnpd_enable:-"NO"} -miniupnpd_config=${miniupnpd_config:-"%%PREFIX%%/etc/miniupnpd.conf"} -miniupnpd_flags=${miniupnpd_flags} +# Add the following line to /etc/rc.conf to enable miniupnpd +# miniupnpd_enable="YES" +# miniupnpd_flags="<set as needed>" name=miniupnpd rcvar=`set_rcvar` load_rc_config $name +miniupnpd_enable=${miniupnpd_enable:-"NO"} +miniupnpd_config=${miniupnpd_config:-"%%PREFIX%%/etc/miniupnpd.conf"} + command="%%PREFIX%%/sbin/miniupnpd" pidfile="/var/run/${name}.pid" command_args="-f $miniupnpd_config" |