9 test x
"${pdnsd:-NO}" = x
"NO" && exit 0
10 test x
"$pdnsd" = x
"DAEMON" && test -x /bin
/mksh
&& exec mksh
-T- $0 start
14 [ -f /etc
/pdnsd.conf
] ||
exit
15 mkdir
-p /var
/cache
/pdnsd
16 touch /var
/cache
/pdnsd
/pdnsd.cache
17 # this allows for strict_setuid
18 chown
-R nobody
:nogroup
/var
/cache
/pdnsd
22 kill $
(pgrep
-f /usr
/sbin
/pdnsd
)
30 echo "Usage: $0 {start | stop | restart}"