Cross Reference: start.sh
xref
: /
bind-9.11.3
/
bin
/
tests
/
system
/
start.sh
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
start.sh revision 0e9dcd548051a8ec34744bfa18b4e09fea742a39
#!/
bin
/
sh
#
# Start name servers for running system tests.
#
cd
$
1
for
d
in
ns
*
do
(
cd
$d &&
rm
-f *.
jnl
*.
bk
named.run
&&
if
test
-f
named.pid
then
if
kill
-
0
`
cat
named.pid
`
2
>/
dev
/
null
then
echo
"$0: named pid
`
cat
named.pid
`
still running"
>&
2
exit
1
else
rm
-f
named.pid
fi
fi
$NAMED
-c
named.conf
-d
99
-g >
named.run
2
>&
1
& &&
while
test
! -f
named.pid
do
sleep
1
done
)
done