1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Change defaults for haproxy-tcp

This commit is contained in:
Ycarus 2018-02-28 15:07:40 +01:00
parent 896372b391
commit 6e313a25b8
3 changed files with 10 additions and 10 deletions

View file

@ -0,0 +1,16 @@
#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@haproxy-tcp[-1]
add ucitrack haproxy-tcp
set ucitrack.@haproxy-tcp[-1].init=haproxy-tcp
commit ucitrack
EOF
/etc/init.d/haproxy stop
/etc/init.d/haproxy disable
/etc/init.d/haproxy-tcp enable
rm -f /tmp/luci-indexcache
exit 0