mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Remove crontab log
This commit is contained in:
parent
5932ad876d
commit
0e1c92846d
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ uci -q batch <<-EOF >/dev/null
|
|||
set system.ntp.enable_server='1'
|
||||
set system.ntp.enabled='1'
|
||||
del system.ntp.server
|
||||
set system.@system[-1].cronloglevel=9
|
||||
add_list system.ntp.server='0.pool.ntp.org'
|
||||
add_list system.ntp.server='1.pool.ntp.org'
|
||||
add_list system.ntp.server='2.pool.ntp.org'
|
||||
|
@ -38,7 +39,7 @@ fi
|
|||
EOF
|
||||
}
|
||||
|
||||
if [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep rutx)" ]; then
|
||||
if [ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep rutx)" ] && [ -z "$(uci show system | grep WAN_ETH)" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
add system led
|
||||
set system.@led[-1].sysfs='wan_wifi_4'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue