Support openwrt
This commit is contained in:
1
package/openwrt/control/conffiles
Normal file
1
package/openwrt/control/conffiles
Normal file
@@ -0,0 +1 @@
|
||||
/etc/config/smartdns
|
||||
11
package/openwrt/control/control
Normal file
11
package/openwrt/control/control
Normal file
@@ -0,0 +1,11 @@
|
||||
Package: smartdns
|
||||
Architecture: mipsbig
|
||||
Priority: optional
|
||||
Section: net
|
||||
Version: 2018.7.6-1921
|
||||
Maintainer: pymumu
|
||||
Source: http://127.0.0.1/
|
||||
Description: A smart dns server
|
||||
Suggests:
|
||||
Conflicts:
|
||||
Enabled: yes
|
||||
15
package/openwrt/control/postinst
Normal file
15
package/openwrt/control/postinst
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
chmod +x /usr/sbin/smartdns
|
||||
chmod +x /etc/init.d/smartdns
|
||||
|
||||
[ "${IPKG_NO_SCRIPT}" = "1" ] && exit 0
|
||||
. ${IPKG_INSTROOT}/lib/functions.sh
|
||||
default_postinst $0 $@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
4
package/openwrt/control/prerm
Normal file
4
package/openwrt/control/prerm
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
. ${IPKG_INSTROOT}/lib/functions.sh
|
||||
default_prerm $0 $@
|
||||
|
||||
Reference in New Issue
Block a user