diff --git a/luci-app-mosdns/Makefile b/luci-app-mosdns/Makefile index f1d59cc..902763b 100644 --- a/luci-app-mosdns/Makefile +++ b/luci-app-mosdns/Makefile @@ -17,6 +17,7 @@ endef define Package/$(PKG_NAME)/postinst #!/bin/sh +[ ! -f /etc/openwrt_release ] && exit 0 [ -n "${IPKG_INSTROOT}" ] || { sysctl -p /etc/sysctl.d/20-mosdns-buffer-increase.conf exit 0 diff --git a/luci-app-mosdns/root/etc/init.d/mosdns b/luci-app-mosdns/root/etc/init.d/mosdns index 5c00c7b..2bece2a 100755 --- a/luci-app-mosdns/root/etc/init.d/mosdns +++ b/luci-app-mosdns/root/etc/init.d/mosdns @@ -20,6 +20,8 @@ # along with this program. If not, see . # +[ ! -f /etc/openwrt_release ] && exit 0 + START=99 USE_PROCD=1