mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 14:13:30 +00:00
fix zerotier boot loop
This commit is contained in:
parent
b2334751e0
commit
e6d5432d84
@ -10,7 +10,7 @@ LUCI_TITLE:=LuCI for Zerotier
|
||||
LUCI_DEPENDS:=+zerotier
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_VERSION:=1.0
|
||||
PKG_RELEASE:=9
|
||||
PKG_RELEASE:=10
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
zero_enable=$(uci get zerotier.sample_config.enabled)
|
||||
|
||||
if [ $zero_enable -eq 1 ]; then
|
||||
if [ ($zero_enable -eq 1) && (pgrep /usr/bin/zerotier-one >/dev/null) ]; then
|
||||
|
||||
while [ "$(ifconfig | grep zt | awk '{print $1}')" = "" ]
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user