diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-02-09 22:08:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-02-09 22:08:54 +0000 |
commit | 41a77064ef4e16e0f7dfdc578937869fcc06e12c (patch) | |
tree | d72304b488ff32685d2a8429b17ab97fe06ff435 /etc | |
parent | 5cf44e4836873c2ef53c8e89867a0859166b19ad (diff) | |
download | pfsense-41a77064ef4e16e0f7dfdc578937869fcc06e12c.zip pfsense-41a77064ef4e16e0f7dfdc578937869fcc06e12c.tar.gz |
Fix errors:
Parse error: syntax error, unexpected ';' in /etc/rc.newwanip on line 52
Parse error: syntax error, unexpected '}' in /etc/rc.newwanip on line 55
Thanks to Trendchiller for allowing me access to his firewall to investigate.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.newwanip | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 070b3e2..f5fbd2d 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -46,11 +46,11 @@ } /* grab the prior ip for pftpx tests */ - if(file_exists("/tmp/rc.newwanip_oldip")) { - $old_ip = file_get_contents("/tmp/rc.newwanip_oldip"); - $helpers = exec("/bin/ps awux | grep {$old_ip} | grep -v grep | cut -d\" \" -f6"); - mwexec("kill " . trim($helpers); - unlink("/tmp/rc.newwanip_oldip"); + if(file_exists("/tmp/rc.newwanip_oldip")) { + $old_ip = file_get_contents("/tmp/rc.newwanip_oldip"); + $helpers = exec("/bin/ps awux | grep {$old_ip} | grep -v grep | cut -d\" \" -f6"); + mwexec("kill " . trim($helpers)); + unlink("/tmp/rc.newwanip_oldip"); } /* reconfigure IPsec tunnels */ |