aboutsummaryrefslogtreecommitdiff
path: root/scripts/ifdown.sh
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-17 16:40:15 +0100
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-17 16:40:15 +0100
commitb6c97e117c20a91e548966fa50411e7fe3dd8818 (patch)
treeb252400b6af698ba4837e914d4f1ffc5f54e2898 /scripts/ifdown.sh
parent021fa432447bd7b447ca39738040698db39d751b (diff)
Remove possible bashisms
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'scripts/ifdown.sh')
-rw-r--r--scripts/ifdown.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ifdown.sh b/scripts/ifdown.sh
index e6f4500..02156cb 100644
--- a/scripts/ifdown.sh
+++ b/scripts/ifdown.sh
@@ -1,6 +1,6 @@
#!/bin/sh
for IFPATH in /sys/class/net/*; do
- [ "$IFPATH" == "/sys/class/net/lo" ] && continue
+ [ "$IFPATH" = "/sys/class/net/lo" ] && continue
IF=`basename $IFPATH`