mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-01-27 04:40:34 +03:00
Rename all directories
This commit is contained in:
32
luci-app-zapret2/Makefile
Normal file
32
luci-app-zapret2/Makefile
Normal file
@@ -0,0 +1,32 @@
|
||||
#
|
||||
# Copyright (c) 2024 remittor
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-zapret2
|
||||
PKG_VERSION:=0.7.20251227
|
||||
PKG_RELEASE:=1
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_MAINTAINER:=remittor <https://github.com/remittor>
|
||||
|
||||
LUCI_TITLE:=LuCI support for zapret2
|
||||
LUCI_DEPENDS:=+zapret2
|
||||
LUCI_PKGARCH:=all
|
||||
|
||||
define Package/$(PKG_NAME)/postinst
|
||||
#!/bin/sh
|
||||
if [ -z "$${IPKG_INSTROOT}" ]; then
|
||||
rm -f /tmp/luci-index*
|
||||
rm -rf /tmp/luci-modulecache/
|
||||
#killall -HUP rpcd 2>/dev/null
|
||||
/etc/init.d/rpcd reload
|
||||
[ -f "/sbin/luci-reload" ] && /sbin/luci-reload
|
||||
[ -f "/etc/init.d/uhttpd" ] && /etc/init.d/uhttpd reload
|
||||
fi
|
||||
exit 0
|
||||
endef
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
Reference in New Issue
Block a user