mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
Back to previous makefile for luci haproxy-tcp
This commit is contained in:
parent
c2091736f0
commit
34d27e1361
1 changed files with 14 additions and 5 deletions
|
@ -7,12 +7,7 @@
|
|||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_TITLE:=LuCI Support for HAProxy-TCP
|
||||
LUCI_DEPENDS:=+haproxy-nossl
|
||||
LUCI_PKGARCH:=all
|
||||
|
||||
PKG_NAME:=luci-app-haproxy-tcp
|
||||
|
||||
PKG_VERSION:=0.1.4
|
||||
PKG_RELEASE:=1
|
||||
|
||||
|
@ -24,6 +19,19 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|||
|
||||
include ../luci/luci.mk
|
||||
|
||||
define Package/luci-app-haproxy-tcp
|
||||
SECTION:=luci
|
||||
CATEGORY:=LuCI
|
||||
SUBMENU:=3. Applications
|
||||
TITLE:=LuCI Support for HAProxy-TCP
|
||||
PKGARCH:=all
|
||||
DEPENDS:=+haproxy-nossl
|
||||
endef
|
||||
|
||||
define Package/luci-app-haproxy-tcp/description
|
||||
LuCI Support for HAProxy-TCP.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
|
@ -47,6 +55,7 @@ define Package/luci-app-haproxy-tcp/prerm
|
|||
/etc/init.d/haproxy-tcp disable
|
||||
/etc/init.d/haproxy-tcp stop
|
||||
rm -f /usr/sbin/haproxy-tcp
|
||||
rm -f /etc/hotplug.d/net/90-haproxy
|
||||
exit 0
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in a new issue