From dc4138c13cc9ab9deaae0d2a10e0c40f4e26fbc5 Mon Sep 17 00:00:00 2001 From: ligc Date: Fri, 6 Feb 2015 16:24:09 +0800 Subject: [PATCH] fix for bug 4562: a shell syntax problem --- xCAT/postscripts/configeth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/configeth b/xCAT/postscripts/configeth index a2052839f..32b12917f 100755 --- a/xCAT/postscripts/configeth +++ b/xCAT/postscripts/configeth @@ -100,7 +100,7 @@ function configipv4(){ echo "NETMASK_${num_v4num}=${str_v4mask}" >> $str_conf_file echo "NETWORK_${num_v4num}=${str_v4net}" >> $str_conf_file echo "LABEL_${num_v4num}=${num_v4num}" >> $str_conf_file - if [ "$str_mtu "!= "$str_default_token" ]; then + if [ "$str_mtu" != "$str_default_token" ]; then echo "MTU_${num_v4num}=${str_mtu}" >> $str_conf_file fi fi