3 # replace existing mwan ucitrack entry
4 uci
-q batch <<-EOF >/dev/null
5 del ucitrack.@mwan3[-1]
7 set ucitrack.@mwan3[-1].exec="/usr/sbin/mwan3 restart"
11 uci
-q get mwan3.globals
>/dev
/null ||
{
12 uci
-q add mwan3 globals
>/dev
/null
13 uci
-q rename mwan3.@globals
[-1]="globals" >/dev
/null
14 uci
-q set mwan3.globals.initial_source
="none" >/dev
/null
19 rm -rf /tmp
/luci-indexcache
/tmp
/luci-modulecache