summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-17 19:34:46 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-17 19:34:46 +0000
commit9948fcb210feb8518ec319362329fcb5c2f5a495 (patch)
tree7ded74b2ebd6dd26217f59d01694378dc76be9bd
parent6a7755ee8f7f67fab5a57d2a69236cb1bcfd550f (diff)
[package] busybox: use uci_get() wrapper (#7312)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21491 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 2e020bbc62..d997937092 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