diff --git a/package/lean/luci-app-haproxy-tcp/files/etc/haproxy_init.sh b/package/lean/luci-app-haproxy-tcp/files/etc/haproxy_init.sh index d40e52da5..cab4d1f82 100755 --- a/package/lean/luci-app-haproxy-tcp/files/etc/haproxy_init.sh +++ b/package/lean/luci-app-haproxy-tcp/files/etc/haproxy_init.sh @@ -16,7 +16,7 @@ stop(){ } start(){ echo "starting haproxy" - logger -t alex restarting haproxy + logger -t restarting haproxy echo global > $CFG_FILE cat >> $CFG_FILE </dev/null` - logger -t alex !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!haproxy is initializing enabled is $vt_enabled + logger -t haproxy is initializing enabled is $vt_enabled echo $vt_enabled if [ "$vt_enabled" = 1 ]; then [ -f /etc/haproxy_backup ] && { diff --git a/package/lean/luci-app-haproxy-tcp/files/etc/uci-defaults/z99-haproxy b/package/lean/luci-app-haproxy-tcp/files/etc/uci-defaults/z99-haproxy new file mode 100755 index 000000000..72913f935 --- /dev/null +++ b/package/lean/luci-app-haproxy-tcp/files/etc/uci-defaults/z99-haproxy @@ -0,0 +1,7 @@ +#!/bin/sh + +/etc/init.d/haproxy disable +/etc/init.d/haproxy stop + +rm -f /tmp/luci-indexcache +exit 0