mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add haproxy and add pot for glorytun
This commit is contained in:
parent
5dc4952622
commit
1de17a4886
14 changed files with 716 additions and 1 deletions
15
luci-app-haproxy-tcp/root/etc/uci-defaults/luci-haproxy-tcp
Normal file
15
luci-app-haproxy-tcp/root/etc/uci-defaults/luci-haproxy-tcp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/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
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue