aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/6in4
diff options
context:
space:
mode:
authorSven Roederer <devel-sven@geroedel.de>2019-12-25 18:43:45 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-26 22:02:51 +0100
commitbad59fd51bbcb9e37119ef05ea6f8970db26ce85 (patch)
treeb7922f4e917b4871059c927330bd8feb86ee4de8 /package/network/ipv6/6in4
parentbc357aaa2b112b349f0349efe89d52aa57d5f582 (diff)
downloadupstream-bad59fd51bbcb9e37119ef05ea6f8970db26ce85.tar.gz
upstream-bad59fd51bbcb9e37119ef05ea6f8970db26ce85.tar.bz2
upstream-bad59fd51bbcb9e37119ef05ea6f8970db26ce85.zip
6in4/6in4.sh: remove some bashism (usage of [[)
"[[" is a bash extension for test. As the ash-implementation is not fully compatible we drop its usage. Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
Diffstat (limited to 'package/network/ipv6/6in4')
-rwxr-xr-xpackage/network/ipv6/6in4/files/6in4.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/ipv6/6in4/files/6in4.sh b/package/network/ipv6/6in4/files/6in4.sh
index 0f631b78ba..5b5c7b36af 100755
--- a/package/network/ipv6/6in4/files/6in4.sh
+++ b/package/network/ipv6/6in4/files/6in4.sh
@@ -75,7 +75,7 @@ proto_6in4_setup() {
[ -n "$ip6addr" ] && {
local local6="${ip6addr%%/*}"
local mask6="${ip6addr##*/}"
- [[ "$local6" = "$mask6" ]] && mask6=
+ [ "$local6" = "$mask6" ] && mask6=
proto_add_ipv6_address "$local6" "$mask6"
proto_add_ipv6_route "::" 0 "" "" "" "$local6/$mask6"
}