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/ifrename.sh.in | |
parent | 021fa432447bd7b447ca39738040698db39d751b (diff) |
Remove possible bashisms
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'scripts/ifrename.sh.in')
-rwxr-xr-x | scripts/ifrename.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ifrename.sh.in b/scripts/ifrename.sh.in index 0820c94..db770e3 100755 --- a/scripts/ifrename.sh.in +++ b/scripts/ifrename.sh.in @@ -7,7 +7,7 @@ TMPPATH="/tmp/ifrename" mkdir -p "$TMPPATH" for IFPATH in /sys/class/net/*; do - [ "$IFPATH" == "/sys/class/net/lo" ] && continue + [ "$IFPATH" = "/sys/class/net/lo" ] && continue IF=`basename $IFPATH` MAC=`cat $IFPATH/address` |