diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-22 18:30:10 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-22 18:30:10 +0000 |
commit | 460851c696e06f35d2b4a27b0de527b4b663d853 (patch) | |
tree | 85d9ae9288ddd837f518a0ca4c5cfebdf22b5ab1 | |
parent | 4a9dfa44534deee2053a582dec1f63f06cca7f2d (diff) | |
download | pfsense-460851c696e06f35d2b4a27b0de527b4b663d853.zip pfsense-460851c696e06f35d2b4a27b0de527b4b663d853.tar.gz |
Add a blurb that the IP change in the system logs and that we are restarting the packages. This is debug for the time being.
-rwxr-xr-x | etc/rc.newwanip | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 9953ca3..ec59915 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -119,8 +119,10 @@ enable_rrd_graphing(); /* restart packages */ if($old_ip <> "") - if($old_ip <> $curwanip) + if($old_ip <> $curwanip) { exec("/etc/rc.start_packages"); + log_error("pfSense package system has detected an ip change $old_ip -> $curwanip ... Restarting packages."); + } /* reload slbd */ /* if ($config['load_balancer']['lbpool']['type'] == "gateway") */ |