summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-14 22:53:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-14 22:53:40 +0000
commit79c0324ba7454f9989a0883553258a3435a9d3ee (patch)
treef06982570f240b84793706f23cae167df6e64ec7 /etc
parent7c26341a041b60b31060bd5e2b375789afd3f4a3 (diff)
downloadpfsense-79c0324ba7454f9989a0883553258a3435a9d3ee.zip
pfsense-79c0324ba7454f9989a0883553258a3435a9d3ee.tar.gz
Add missing )'s. How this got past our PHP LINT checker is beyond me.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.newwanip4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 0f3798e..3f9f2a0 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -65,13 +65,13 @@ if($curwanip == "0.0.0.0") {
/* grab the prior ip for pftpx tests */
if(file_exists("/tmp/rc.newwanip_oldip")) {
/* grab hint from dhclient */
- $old_ip = trim(file_get_contents("/tmp/rc.newwanip_oldip", "\r");
+ $old_ip = trim(file_get_contents("/tmp/rc.newwanip_oldip", "\r"));
unlink("/tmp/rc.newwanip_oldip");
}
/* fallback to rc.newwanip ip if needed */
if(!$old_ip)
if(file_exists("{$g['vardb_path']}/{$interface}_ip"))
- $old_ip = trim(file_get_contents("{$g['vardb_path']}/{$interface}_ip", "\r");
+ $old_ip = trim(file_get_contents("{$g['vardb_path']}/{$interface}_ip", "\r"));
if($old_ip) {
$helpers = exec("/bin/ps awux | grep \"{$old_ip}\" | grep -v \"grep\" | awk '{ print $2 }'");
if($helpers)
OpenPOWER on IntegriCloud