Searched refs:LO0_IP4 (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/external/bsd/unbound/dist/testcode/
H A Drun_vm.sh9 LO0_IP4=`/sbin/ifconfig lo0 | grep '[^0-9]127\.' | sed -e 's/^[^1]*\(127\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[^0-9]*.*$/\1/g'`
10 if ( echo $LO0_IP4 | grep '^127\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*$' > /dev/null )
15 LO0_IP4=127.0.0.1
18 export LO0_IP4
19 if test "x$LO0_IP4" = "x127.0.0.1"
66 sed "s/127\.0\.0\.1/${LO0_IP4}/g" "$f" > "$f._"
68 sed "s/@localhost/@${LO0_IP4}/g" "$f" > "$f._"
75 mv -v "$d" "${d%127.0.0.1}${LO0_IP4}"

Completed in 179 milliseconds