mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 20:27: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:
parent
6a7755ee8f
commit
9948fcb210
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user