Browse Source

busybox: use uci_get() wrapper (#7312)

SVN-Revision: 21491
Jo-Philipp Wich 16 years ago
parent
commit
47e443f91b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/busybox/files/cron

+ 1 - 1
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