[package] busybox: use uci_get() wrapper (#7312)
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 May 2010 19:34:46 +0000 (19:34 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 May 2010 19:34:46 +0000 (19:34 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21491 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/busybox/files/cron

index 2e020bb..d997937 100755 (executable)
@@ -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
This page took 0.02889 seconds and 4 git commands to generate.