luci-app-mosdns: fix an error reported when using imageBuilder
This commit is contained in:
parent
7789ee0e5a
commit
61e2edd44a
@ -17,6 +17,7 @@ endef
|
|||||||
|
|
||||||
define Package/$(PKG_NAME)/postinst
|
define Package/$(PKG_NAME)/postinst
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
[ ! -f /etc/openwrt_release ] && exit 0
|
||||||
[ -n "${IPKG_INSTROOT}" ] || {
|
[ -n "${IPKG_INSTROOT}" ] || {
|
||||||
sysctl -p /etc/sysctl.d/20-mosdns-buffer-increase.conf
|
sysctl -p /etc/sysctl.d/20-mosdns-buffer-increase.conf
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
[ ! -f /etc/openwrt_release ] && exit 0
|
||||||
|
|
||||||
START=99
|
START=99
|
||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user