summaryrefslogtreecommitdiff
path: root/package/busybox
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:34:46 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:34:46 +0000
commit47e443f91ba562bc3ca16805bacf2264639acf34 (patch)
tree29e88537c4d09bd010d709bdade72352da62d770 /package/busybox
parentea06a67eac000f3e793ddcb945cbdf222a32c7e0 (diff)
downloadmtk-20170518-47e443f91ba562bc3ca16805bacf2264639acf34.zip
mtk-20170518-47e443f91ba562bc3ca16805bacf2264639acf34.tar.gz
mtk-20170518-47e443f91ba562bc3ca16805bacf2264639acf34.tar.bz2
busybox: use uci_get() wrapper (#7312)
SVN-Revision: 21491
Diffstat (limited to 'package/busybox')
-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 2e020bb..d997937 100755
--- a/package/busybox/files/cron
+++ b/package/busybox/files/cron
@@ -3,7 +3,7 @@
START=50
start () {
- loglevel=$(/sbin/uci get "system.@system[0].cronloglevel" 2>/dev/null)
+ loglevel=$(uci_get "system.@system[0].cronloglevel")
[ -z "$(ls /etc/crontabs/)" ] && exit 1
mkdir -p /var/spool/cron
ln -s /etc/crontabs /var/spool/cron/ 2>/dev/null