diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2017-03-27 00:54:02 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2017-03-27 00:54:02 +0200 |
commit | 65b9347b4c4e3191203b039af4407ebfb0d4feb4 (patch) | |
tree | 6cd9da09d2fc135825ae0932f62b42806471d302 /src/etc | |
parent | dd844c430622fa68de1f868b62ec375d7131ce16 (diff) | |
download | pfsense-65b9347b4c4e3191203b039af4407ebfb0d4feb4.zip pfsense-65b9347b4c4e3191203b039af4407ebfb0d4feb4.tar.gz |
cron, dont write_config() when nothing changed.
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/services.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/inc/services.inc b/src/etc/inc/services.inc index a37a9a3..3fe8356 100644 --- a/src/etc/inc/services.inc +++ b/src/etc/inc/services.inc @@ -2867,6 +2867,8 @@ function install_cron_job($command, $active = false, $minute = "0", $hour = "*", if ($is_installed == true) { unset($config['cron']['item'][$x]); $change_message = "Removed cron job for %s"; + } else { + $cron_changed = false; } } |