diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-06-30 23:01:42 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-06-30 23:01:42 +0000 |
commit | 9aaf57ea89e6c99294271cf6f4eec73203a80de9 (patch) | |
tree | f3d19e336389157e167a4fc7dd6014ed412849ae /usr/local | |
parent | d08299cc618da3c43f1afbe5056458acc7bfa287 (diff) | |
download | pfsense-9aaf57ea89e6c99294271cf6f4eec73203a80de9.zip pfsense-9aaf57ea89e6c99294271cf6f4eec73203a80de9.tar.gz |
Use /var/etc/
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/pkg/miniupnpd.inc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr/local/pkg/miniupnpd.inc b/usr/local/pkg/miniupnpd.inc index 518cd9e..05167dc 100644 --- a/usr/local/pkg/miniupnpd.inc +++ b/usr/local/pkg/miniupnpd.inc @@ -4,7 +4,6 @@ /* MiniUPnPd */ - define('UPNP_RCFILE', '/usr/local/etc/rc.d/miniupnpd.sh'); define('UPNP_CONFIG','/var/etc/miniupnpd.conf'); function upnp_notice ($msg) { syslog(LOG_NOTICE, "miniupnpd: {$msg}"); return; } @@ -40,6 +39,7 @@ } function upnp_write_config($conf_file, $conf_text) { + $conf_file = "/var/etc/miniupnpd.conf"; $conf = fopen($conf_file, "w"); if(!$conf) { upnp_warn("Could not open {$conf_file} for writing."); @@ -253,12 +253,6 @@ EOD; /* write out the configuration */ conf_mount_rw(); upnp_write_config(UPNP_CONFIG,$configtext); - write_rcfile(array( - 'file' => 'miniupnpd.sh', - 'start' => $start, - 'stop' => $stop - ) - ); conf_mount_ro(); /* if miniupnpd not running start it */ |