mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
14 lines
240 B
Text
14 lines
240 B
Text
|
#!/bin/sh
|
||
|
|
||
|
uci -q batch <<-EOF >/dev/null
|
||
|
delete ucitrack.@nginx-ha[-1]
|
||
|
add ucitrack nginx-ha
|
||
|
set ucitrack.@nginx-ha[-1].init=nginx-ha
|
||
|
commit ucitrack
|
||
|
EOF
|
||
|
|
||
|
/etc/init.d/nginx-ha enable >/dev/null 2>&1
|
||
|
|
||
|
rm -f /tmp/luci-indexcache
|
||
|
exit 0
|