summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorErwan Velu <erwan@mandriva.org>2002-11-21 15:55:14 +0000
committerErwan Velu <erwan@mandriva.org>2002-11-21 15:55:14 +0000
commit05a574939a664d85ee1a571fe3c6ff13bc8d8401 (patch)
treed8f2311ad6fbf2911469ce7b4ab80dc9e7788fba /rescue
parent7173a9ac6a7d23ef14f56dadf954dae320661c5b (diff)
downloaddrakx-backup-do-not-use-05a574939a664d85ee1a571fe3c6ff13bc8d8401.tar
drakx-backup-do-not-use-05a574939a664d85ee1a571fe3c6ff13bc8d8401.tar.gz
drakx-backup-do-not-use-05a574939a664d85ee1a571fe3c6ff13bc8d8401.tar.bz2
drakx-backup-do-not-use-05a574939a664d85ee1a571fe3c6ff13bc8d8401.tar.xz
drakx-backup-do-not-use-05a574939a664d85ee1a571fe3c6ff13bc8d8401.zip
fixing typo
Diffstat (limited to 'rescue')
-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 5c4967e8e..98de2f11d 100755
--- a/rescue/tree/ka/setup_network.sh
+++ b/rescue/tree/ka/setup_network.sh
@@ -29,7 +29,7 @@ fi
if [ $nbfound -ne 1 ] || [ -z "$myname" ]; then
# try DNS
echo IP not found in /ka/hostnames, Trying DNS
- myname=`host $ip | grep "domain name" | cut -d " " -f 5` | sed 's/\.$//g'
+ myname=`host $ip | grep "domain name" | cut -d " " -f 5 | sed 's/\.$//g' `
# myname=`nslookup $ip | grep ^Name: | tail -n +2 | head -n 1 | sed 's/Name: *//'`
fi