luci-app-mosdns: fix an error reported when using imageBuilder

This commit is contained in:
Hu3rror 2023-07-05 17:50:58 +08:00
parent 7789ee0e5a
commit 61e2edd44a
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -20,6 +20,8 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
[ ! -f /etc/openwrt_release ] && exit 0
START=99
USE_PROCD=1