Support openwrt
This commit is contained in:
8
package/luci/control/control
Normal file
8
package/luci/control/control
Normal file
@@ -0,0 +1,8 @@
|
||||
Package: luci-app-smartdns
|
||||
Version: git-18.201.27126-7bf0367-1
|
||||
Depends: libc, smartdns
|
||||
Source: feeds/luci/applications/luci-app-smartdns
|
||||
Section: luci
|
||||
Architecture: all
|
||||
Installed-Size: 1040
|
||||
Description: A smartdns server module
|
||||
5
package/luci/control/postinst
Normal file
5
package/luci/control/postinst
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
[ "${IPKG_NO_SCRIPT}" = "1" ] && exit 0
|
||||
[ -x ${IPKG_INSTROOT}/lib/functions.sh ] || exit 0
|
||||
. ${IPKG_INSTROOT}/lib/functions.sh
|
||||
default_postinst $0 $@
|
||||
4
package/luci/control/postinst-pkg
Normal file
4
package/luci/control/postinst-pkg
Normal file
@@ -0,0 +1,4 @@
|
||||
[ -n "${IPKG_INSTROOT}" ] || {
|
||||
(. /etc/uci-defaults/50_luci-smartdns) && rm -f /etc/uci-defaults/50_luci-smartdns
|
||||
exit 0
|
||||
}
|
||||
4
package/luci/control/prerm
Normal file
4
package/luci/control/prerm
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
[ -x ${IPKG_INSTROOT}/lib/functions.sh ] || exit 0
|
||||
. ${IPKG_INSTROOT}/lib/functions.sh
|
||||
default_prerm $0 $@
|
||||
Reference in New Issue
Block a user