Commit e6b77711 authored by Pekka Pessi's avatar Pekka Pessi

sresolv/run_test_sresolv: fixed whitespace

darcs-hash:20081127232605-db55f-16394b8289d972b7bdca0406a19eb339070a8414.gz
parent c40692bb
......@@ -61,14 +61,14 @@ fi
} || {
echo test_sresolv: there is no BIND 9 named in you path, skipping
exit 77
}
}
if eval $ipv6
then
# Figure out nice IPv6 address for us
ns=`ip addr ls | awk '
/^[0-9]:/ { up = ($3 ~ /UP/) && ($3 !~ /LOOPBACK/); }
/inet6 fe80::/ { next; } # no link-local
/inet6 fe80::/ { next; } # no link-local
up && $1 ~ /inet6/ { sub(/\/.*$/, "", $2); print $2; exit 0; }'`
# Nothing found, use localnode ::1
......@@ -161,13 +161,13 @@ named -f -d 999 -c $t/named.conf &
echo $0: started named pid $!
for i in 1 2 3 4 5; do
test -r $t/named.pid && break
sleep 1;
sleep 1;
done
test -r $t/named.pid || {
echo $0: cannot start named >&2 ;
test -r $t/named.pid || {
echo $0: cannot start named >&2 ;
if fgrep -i -e SELINUX=enforcing /etc/selinux/config >/dev/null 2>&1 ; then
echo $0: perhaps you have to disable SELinux protection for named
echo $0: perhaps you have to disable SELinux protection for named
fi
exit 77
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment