summary refs log tree commit diff stats
path: root/scripts/mk_network_config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mk_network_config.sh')
-rwxr-xr-xscripts/mk_network_config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mk_network_config.sh b/scripts/mk_network_config.sh
index d929530..3c853fb 100755
--- a/scripts/mk_network_config.sh
+++ b/scripts/mk_network_config.sh
@@ -41,7 +41,7 @@ EOF
         -e 's/127[0-9.]+/8.8.8.8/' \
         -e 's/::1/8.8.8.8/')
 
-    if [[ "$eth0_name" = eth* ]]; then
+    if [[ $eth0_name == eth* ]]; then
         predictable_inames="usePredictableInterfaceNames = lib.mkForce false;"
     else
         predictable_inames="usePredictableInterfaceNames = lib.mkForce true;"