aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/files/cron
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/files/cron')
-rwxr-xr-xpackage/busybox/files/cron2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/busybox/files/cron b/package/busybox/files/cron
index aa538969be..2e020bbc62 100755
--- a/package/busybox/files/cron
+++ b/package/busybox/files/cron
@@ -6,7 +6,7 @@ start () {
loglevel=$(/sbin/uci get "system.@system[0].cronloglevel" 2>/dev/null)
[ -z "$(ls /etc/crontabs/)" ] && exit 1
mkdir -p /var/spool/cron
- [ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
+ ln -s /etc/crontabs /var/spool/cron/ 2>/dev/null
crond -c /etc/crontabs -l ${loglevel:-5}
}