mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #3224 from jow-/mwan3-local-fix
mwan3: remove bad local shell variable declarations
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=mwan3
|
PKG_NAME:=mwan3
|
||||||
PKG_VERSION:=2.0
|
PKG_VERSION:=2.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
PKG_MAINTAINER:=Jeroen Louwes <jeroen.louwes@gmail.com>
|
PKG_MAINTAINER:=Jeroen Louwes <jeroen.louwes@gmail.com>
|
||||||
PKG_LICENSE:=GPLv2
|
PKG_LICENSE:=GPLv2
|
||||||
|
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ fi
|
|||||||
[ -x /usr/sbin/ip6tables ] || exit 7
|
[ -x /usr/sbin/ip6tables ] || exit 7
|
||||||
[ -x /usr/bin/logger ] || exit 8
|
[ -x /usr/bin/logger ] || exit 8
|
||||||
|
|
||||||
local family gateway
|
|
||||||
|
|
||||||
config_get family $INTERFACE family ipv4
|
config_get family $INTERFACE family ipv4
|
||||||
|
|
||||||
if [ "$family" == "ipv4" ]; then
|
if [ "$family" == "ipv4" ]; then
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
local IP4 IP6 IPS IPT4 IPT6 LOG
|
|
||||||
|
|
||||||
IP4="/usr/bin/ip -4"
|
IP4="/usr/bin/ip -4"
|
||||||
IP6="/usr/bin/ip -6"
|
IP6="/usr/bin/ip -6"
|
||||||
IPS="/usr/sbin/ipset"
|
IPS="/usr/sbin/ipset"
|
||||||
|
|||||||
Reference in New Issue
Block a user