diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-09 05:43:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-09 05:43:27 +0000 |
commit | 9b5fdb5b115de511a4d90bff3665bb9184b2afb5 (patch) | |
tree | 69e69c734e0f9ad7555c48d6fcc3bf270a377d77 | |
parent | 3c13912772af804c334cb3e10480d457e16a1eac (diff) | |
download | pfsense-9b5fdb5b115de511a4d90bff3665bb9184b2afb5.zip pfsense-9b5fdb5b115de511a4d90bff3665bb9184b2afb5.tar.gz |
Sync the time on ip change and alert the logs
-rwxr-xr-x | etc/rc.newwanip | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index c63f7ac..4fecbb0 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -120,6 +120,7 @@ enable_rrd_graphing(); /* restart packages */ if($old_ip <> "") if($old_ip <> $curwanip) { + exec("/etc/rc.start_packages"); exec("/etc/rc.start_packages"); log_error("pfSense package system has detected an ip change $old_ip -> $curwanip ... Restarting packages."); } @@ -132,4 +133,4 @@ log_error("Configuring slbd"); return 0; -?> +?>
\ No newline at end of file |