summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwan Velu <erwan@mandriva.org>2003-06-11 18:04:51 +0000
committerErwan Velu <erwan@mandriva.org>2003-06-11 18:04:51 +0000
commit726052354a8a77b85e11c620e3c9fbe98522ff57 (patch)
tree07dbbc6ac7aa075aec999676fdc4f70022c26817
parentf4931a51f579b39e14c317636ec8e018582e4636 (diff)
downloaddrakx-726052354a8a77b85e11c620e3c9fbe98522ff57.tar
drakx-726052354a8a77b85e11c620e3c9fbe98522ff57.tar.gz
drakx-726052354a8a77b85e11c620e3c9fbe98522ff57.tar.bz2
drakx-726052354a8a77b85e11c620e3c9fbe98522ff57.tar.xz
drakx-726052354a8a77b85e11c620e3c9fbe98522ff57.zip
Fixing typo
-rwxr-xr-xrescue/tree/ka/setup_network.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/tree/ka/setup_network.sh b/rescue/tree/ka/setup_network.sh
index 98de2f11d..06339beaf 100755
--- a/rescue/tree/ka/setup_network.sh
+++ b/rescue/tree/ka/setup_network.sh
@@ -56,7 +56,7 @@ echo GATEWAYDEV=$firstnic
# see if IP has to be written
proto=`grep ^BOOTPROTO /mnt/disk/etc/sysconfig/network-scripts/ifcfg-$firstnic | cut -d = -f 2 | tr -d \"`
echo PROTO=$proto
-if [ $proto != dhcp ]; then
+if [ "$proto" != "dhcp" ]; then
# proto is static, write the new IP in the config file
old=/mnt/disk/etc/sysconfig/network-scripts/ifcfg-$firstnic.beforeka
new=/mnt/disk/etc/sysconfig/network-scripts/ifcfg-$firstnic