mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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
e0e58c0e93
commit
637f34944e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user