mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 06:22:52 +08:00
28 lines
860 B
Makefile
28 lines
860 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
LUCI_TITLE:=LuCI support for EasyTier Next
|
|
LUCI_URL:=https://github.com/EasyTier/EasyTier
|
|
PKG_DESCRIPTION:=Provides a modern LuCI Web management interface for EasyTier decentralized mesh VPN.
|
|
PKG_MAINTAINER:=Dante <dante@seckv.com>
|
|
LUCI_DEPENDS:=+easytier-next +luci-base +ucode +ucode-mod-fs +ucode-mod-uci +ucode-mod-ubus
|
|
LUCI_PKGARCH:=all
|
|
|
|
define Package/luci-app-easytier-next/conffiles
|
|
/etc/config/easytier
|
|
/etc/easytier/
|
|
endef
|
|
|
|
define Package/luci-app-easytier-next/postinst
|
|
#!/bin/sh
|
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
|
rm -f /tmp/luci-indexcache.* /tmp/luci-modulecache/* 2>/dev/null
|
|
chmod 0755 /etc/init.d/easytier /etc/hotplug.d/iface/99-easytier-routes 2>/dev/null || true
|
|
/etc/init.d/rpcd restart 2>/dev/null || true
|
|
}
|
|
exit 0
|
|
endef
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|