diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-11-17 16:40:15 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-11-17 16:40:15 +0100 |
commit | b6c97e117c20a91e548966fa50411e7fe3dd8818 (patch) | |
tree | b252400b6af698ba4837e914d4f1ffc5f54e2898 /scripts/ifdown.sh | |
parent | 021fa432447bd7b447ca39738040698db39d751b (diff) |
Remove possible bashisms
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'scripts/ifdown.sh')
-rw-r--r-- | scripts/ifdown.sh | 2 |
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` |