aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:34:46 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-05-17 19:34:46 +0000
commit637f34944ec78a5bb0bc2f8bac4fc0289b660c69 (patch)
tree7ded74b2ebd6dd26217f59d01694378dc76be9bd
parente0e58c0e93cbd301941f64a86a5ed808691708be (diff)
downloadupstream-637f34944ec78a5bb0bc2f8bac4fc0289b660c69.tar.gz
upstream-637f34944ec78a5bb0bc2f8bac4fc0289b660c69.tar.bz2
upstream-637f34944ec78a5bb0bc2f8bac4fc0289b660c69.zip
[package] busybox: use uci_get() wrapper (#7312)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21491 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/busybox/files/cron2
1 files changed, 1 insertions, 1 deletions
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