aboutsummaryrefslogtreecommitdiff
path: root/scripts/ifrename.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ifrename.sh.in')
-rwxr-xr-xscripts/ifrename.sh.in2
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`