diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-27 19:14:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-27 19:14:54 +0000 |
commit | 5c88e18746d5835f4e5095c77ff3ca98365771bd (patch) | |
tree | 426cab96fddac76d280a6dff2976370b689463b4 /etc | |
parent | 85cf85dc1a4eb7fbc684ed273ae8a25119509a20 (diff) | |
download | pfsense-5c88e18746d5835f4e5095c77ff3ca98365771bd.zip pfsense-5c88e18746d5835f4e5095c77ff3ca98365771bd.tar.gz |
Write out an entry to the logging system when we write_config() on bootup.
This will help us track down stray items writing out on bootup.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index f0e7ff6..28f28f9 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1068,6 +1068,9 @@ function convert_config() { function write_config($desc="Unknown", $backup = true) { global $config, $g; + if($g['bootup']) + log_error("WARNING! Configuration written on bootup. This can cause stray openvpn and load balancing items in config.xml"); + if($backup) backup_config(); |