diff options
author | Erwan Velu <erwan@mandriva.org> | 2003-06-11 18:04:51 +0000 |
---|---|---|
committer | Erwan Velu <erwan@mandriva.org> | 2003-06-11 18:04:51 +0000 |
commit | 726052354a8a77b85e11c620e3c9fbe98522ff57 (patch) | |
tree | 07dbbc6ac7aa075aec999676fdc4f70022c26817 | |
parent | f4931a51f579b39e14c317636ec8e018582e4636 (diff) | |
download | drakx-726052354a8a77b85e11c620e3c9fbe98522ff57.tar drakx-726052354a8a77b85e11c620e3c9fbe98522ff57.tar.gz drakx-726052354a8a77b85e11c620e3c9fbe98522ff57.tar.bz2 drakx-726052354a8a77b85e11c620e3c9fbe98522ff57.tar.xz drakx-726052354a8a77b85e11c620e3c9fbe98522ff57.zip |
Fixing typo
-rwxr-xr-x | rescue/tree/ka/setup_network.sh | 2 |
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 |