summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-06-09 21:02:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-06-09 21:02:06 +0000
commit251ca0224acbbc00469f479a4d38c91bbcee3032 (patch)
treec0b6f40da51d4e7e54c099f8cf094840a1a22b52 /etc
parent1fadb31de46439a2af64b6247d7af43fa122b85d (diff)
downloadpfsense-251ca0224acbbc00469f479a4d38c91bbcee3032.zip
pfsense-251ca0224acbbc00469f479a4d38c91bbcee3032.tar.gz
Make sure we are writable for /etc/crontab
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 12c83c5..c268f98 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1228,8 +1228,7 @@ EODAD;
/* configure cron service */
function configure_cron() {
global $g, $config;
- if (!$g['booting'])
- conf_mount_rw();
+ conf_mount_rw();
/* preserve existing crontab entries */
$crontab_contents = file_get_contents("/etc/crontab");
$crontab_contents_a = split("\n", $crontab_contents);
OpenPOWER on IntegriCloud