From: Jo-Philipp Wich Date: Mon, 17 May 2010 19:34:46 +0000 (+0000) Subject: busybox: use uci_get() wrapper (#7312) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=47e443f91ba562bc3ca16805bacf2264639acf34;p=openwrt%2Fstaging%2Fldir.git busybox: use uci_get() wrapper (#7312) SVN-Revision: 21491 --- 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