6in4: fix invalid local variable declaration (FS#188)
Remove an invalid local variable declaration in the tunnel update subshell invocation. Local declarations outside of function scopes are illegal since the Busybox update to version 1.25.0 . Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
45b73af7f6
commit
864b2d113a
2 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=6in4
|
PKG_NAME:=6in4
|
||||||
PKG_VERSION:=23
|
PKG_VERSION:=24
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_LICENSE:=GPL-2.0
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ define Package/6in4
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:=@IPV6 +kmod-sit +uclient-fetch
|
DEPENDS:=@IPV6 +kmod-sit +uclient-fetch
|
||||||
TITLE:=IPv6-in-IPv4 configuration support
|
TITLE:=IPv6-in-IPv4 configuration support
|
||||||
MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org>
|
MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
|
||||||
PKGARCH:=all
|
PKGARCH:=all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
proto_6in4_update() {
|
proto_6in4_update() {
|
||||||
sh -c '
|
sh -c '
|
||||||
local timeout=5
|
timeout=5
|
||||||
|
|
||||||
(while [ $((timeout--)) -gt 0 ]; do
|
(while [ $((timeout--)) -gt 0 ]; do
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
Loading…
Reference in a new issue