aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-07 21:40:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-07 21:40:28 +0000
commit7364cb35d3bdd7409f7d5e06a5921b18d65ec2b7 (patch)
treef780f3e16d0ee7c87b1da08a02f22408a5b7a30d /packages
parentafc7a27ab6c85bec8e8ec2b0254c029a37fbc6bd (diff)
downloadpfsense-packages-7364cb35d3bdd7409f7d5e06a5921b18d65ec2b7.tar.gz
pfsense-packages-7364cb35d3bdd7409f7d5e06a5921b18d65ec2b7.tar.bz2
pfsense-packages-7364cb35d3bdd7409f7d5e06a5921b18d65ec2b7.zip
Minor cleanups
Diffstat (limited to 'packages')
-rw-r--r--packages/upnpd.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/upnpd.xml b/packages/upnpd.xml
index 50bbb1ec..111ff61f 100644
--- a/packages/upnpd.xml
+++ b/packages/upnpd.xml
@@ -6,10 +6,10 @@
function sync_upnp() {
$lanif = $config['interfaces']['lan']['if'];
$wanif = get_real_wan_interface();
- $lanip = find_interface_ip($lanif);
- /* copy original, we're going to overwrite !ADDR! with our internal ip */
+ $lanip = find_interface_ip($lanif);
+ /* copy original, we're going to overwrite ADDR with our internal ip */
mwexec("cp /usr/local/etc/linuxigd/gatedesc.xml.bak /usr/local/etc/linuxigd/gatedesc.xml");
- /* replace !ADDR! with LAN ip */
+ /* replace ADDR with LAN ip */
$file_contents = return_filename_as_string("/usr/local/etc/linuxigd/gatedesc.xml");
$file_contents = str_replace("!ADDR!","{$lanip}",$file_contents);
$fout = fopen("/usr/local/etc/linuxigd/gatedesc.xml", "w");
@@ -25,13 +25,13 @@
chmod("/usr/local/etc/rc.d/upnpd.sh", 0755);
/* kill it off if its running */
mwexec("killall upnpd");
- /* alright, thats all we need. start 'er up! */
+ /* alright, thats all we need. start up! */
mwexec("/usr/local/etc/rc.d/upnpd.sh");
}
function sync_upnp();
</custom_php_resync_config_command>
<custom_php_install_command>
- /* we need to update the files !ADDR! from time to time which is the lan ip */
+ /* we need to update the files ADDR from time to time which is the lan ip */
mwexec("cp /usr/local/etc/linuxigd/gatedesc.xml /usr/local/etc/linuxigd/gatedesc.xml.bak");
function sync_upnp();
</custom_php_install_command>