diff options
author | jim-p <jimp@pfsense.org> | 2013-10-09 08:54:18 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-10-09 08:54:18 -0400 |
commit | 090b9a4a3dc43e61a3040c088f9a97228819063d (patch) | |
tree | 8629a2160c536e977f4e8e8b034ac307c354fcdc /etc/inc/upgrade_config.inc | |
parent | f324698c3d5ef0ef5a4a8673adc38c459970e571 (diff) | |
download | pfsense-090b9a4a3dc43e61a3040c088f9a97228819063d.zip pfsense-090b9a4a3dc43e61a3040c088f9a97228819063d.tar.gz |
Remove newsyslog cron job on upgrade, if present.
Diffstat (limited to 'etc/inc/upgrade_config.inc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 225bc0e..5d73a27 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -3159,4 +3159,9 @@ function upgrade_098_to_099() { $config['captiveportal'][$cpzone]['passthrumac'][$idx]['action'] = 'pass'; } } + +function upgrade_099_to_100() { + require_once("/etc/inc/services.inc"); + install_cron_job("/usr/bin/nice -n20 newsyslog", false); +} ?> |