busybox: use uci_get() wrapper (#7312)
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 17 May 2010 19:34:46 +0000 (19:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 17 May 2010 19:34:46 +0000 (19:34 +0000)
SVN-Revision: 21491

package/busybox/files/cron

index 2e020bbc629a9995eb7be7b98359dac9cc6965ff..d997937092d1d0b39ec6f2b0613a9d6d58379b94 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