From 05a574939a664d85ee1a571fe3c6ff13bc8d8401 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Thu, 21 Nov 2002 15:55:14 +0000 Subject: fixing typo --- rescue/tree/ka/setup_network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1