1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 09:17:42 +02:00

[package] busybox: use uci_get() wrapper (#7312)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21491 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-05-17 19:34:46 +00:00
parent 6a7755ee8f
commit 9948fcb210

View File

@ -3,7 +3,7 @@
START=50 START=50
start () { 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 [ -z "$(ls /etc/crontabs/)" ] && exit 1
mkdir -p /var/spool/cron mkdir -p /var/spool/cron
ln -s /etc/crontabs /var/spool/cron/ 2>/dev/null ln -s /etc/crontabs /var/spool/cron/ 2>/dev/null