summaryrefslogtreecommitdiffstats
path: root/package/base-files/default
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default')
-rwxr-xr-xpackage/base-files/default/etc/init.d/cron2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/etc/init.d/cron b/package/base-files/default/etc/init.d/cron
index a450c36dd..e78d02332 100755
--- a/package/base-files/default/etc/init.d/cron
+++ b/package/base-files/default/etc/init.d/cron
@@ -3,7 +3,7 @@
start () {
mkdir -p /var/spool/cron
- ln -s /etc/crontabs /var/spool/cron/crontabs
+ [ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
crond -c /etc/crontabs
}