summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackage/busybox/files/cron2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/busybox/files/cron b/package/busybox/files/cron
index d997937092..56348c84af 100755
--- a/package/busybox/files/cron
+++ b/package/busybox/files/cron
@@ -2,6 +2,8 @@
# Copyright (C) 2006 OpenWrt.org
START=50
+PATH="/bin:/sbin:/usr/bin:/usr/sbin"
+
start () {
loglevel=$(uci_get "system.@system[0].cronloglevel")
[ -z "$(ls /etc/crontabs/)" ] && exit 1