From 9948fcb210feb8518ec319362329fcb5c2f5a495 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 17 May 2010 19:34:46 +0000 Subject: [PATCH] [package] busybox: use uci_get() wrapper (#7312) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21491 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/busybox/files/cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/busybox/files/cron b/package/busybox/files/cron index 2e020bbc6..d99793709 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 -- 2.20.1