diff options
author | jim-p <jimp@pfsense.org> | 2013-10-10 12:50:36 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-10-10 12:50:36 -0400 |
commit | 151f5cb72d0333c00fc4f0f717c05a70f2180835 (patch) | |
tree | 59e6d716a4ad1541c1e00c07cd9e3bc39c9b186f /etc | |
parent | 12f7e3d4ec96ee6b92dbfb8261bd2546607b5358 (diff) | |
download | pfsense-151f5cb72d0333c00fc4f0f717c05a70f2180835.zip pfsense-151f5cb72d0333c00fc4f0f717c05a70f2180835.tar.gz |
Remove newsyslog cron job on upgrade, if present.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/globals.inc | 2 | ||||
-rw-r--r-- | etc/inc/upgrade_config.inc | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index 4394dc4..efb6fdc 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -72,7 +72,7 @@ $g = array( "disablecrashreporter" => false, "crashreporterurl" => "http://crashreporter.pfsense.org/crash_reporter.php", "debug" => false, - "latest_config" => "9.9", + "latest_config" => "10.0", "nopkg_platforms" => array("cdrom"), "minimum_ram_warning" => "101", "minimum_ram_warning_text" => "128 MB", diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 9a85407..bbc4705 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -3154,4 +3154,9 @@ function upgrade_098_to_099() { } } } + +function upgrade_099_to_100() { + require_once("/etc/inc/services.inc"); + install_cron_job("/usr/bin/nice -n20 newsyslog", false); +} ?> |