luci-app-zerotier: adjust boot order

This commit is contained in:
lean 2020-03-24 19:38:58 +08:00 committed by CN_SZTL
parent cdb4f7f628
commit ac939ee905
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
5 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ LUCI_DEPENDS:=+adbyby +wget +ipset +dnsmasq-full
LUCI_PKGARCH:=all
PKG_NAME:=luci-app-adbyby-plus
PKG_VERSION:=2.0
PKG_RELEASE:=69
PKG_RELEASE:=71
include $(TOPDIR)/feeds/luci/luci.mk

View File

@ -1,6 +1,6 @@
#!/bin/sh /etc/rc.common
START=98
START=96
STOP=10
@ -184,7 +184,7 @@ reload_rule()
config_foreach get_config adbyby
del_rule
[ $enable -eq 0 ] && exit 0
iptables-save | grep ADBYBY >/dev/null || add_rule
add_rule
}
start()
@ -200,7 +200,6 @@ start()
/tmp/adbyby/adbyby >/dev/null 2>&1 &
add_dns
iptables-save | grep ADBYBY >/dev/null || \
add_rule
/etc/init.d/dnsmasq reload
fi

View File

@ -8,7 +8,7 @@
# See /LICENSE for more information.
#
START=99
START=70
STOP=15
SERVICE_DAEMONIZE=1

View File

@ -10,7 +10,7 @@ LUCI_TITLE:=LuCI for Zerotier
LUCI_DEPENDS:=+zerotier
LUCI_PKGARCH:=all
PKG_VERSION:=1.0
PKG_RELEASE:=17
PKG_RELEASE:=18
include $(TOPDIR)/feeds/luci/luci.mk

View File

@ -1,6 +1,7 @@
#!/bin/sh /etc/rc.common
START=90
START=99
USE_PROCD=1
PROG=/usr/bin/zerotier-one