summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a450c36..e78d023 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
}