diff options
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` |