Commit eb1b638b authored by Robert Ricci's avatar Robert Ricci

Add a new script to start up bind9 from the ports tree.

parent 257713f6
#!/bin/sh
case "$1" in
start)
if [ -x /usr/local/sbin/named ]; then
sleep 1
/usr/local/sbin/named -c /etc/namedb/named.conf
fi
;;
stop)
/usr/bin/killall named > /dev/null 2>&1 && echo -n ' named'
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop }"
echo ""
exit 64
;;
esac
......@@ -8,7 +8,7 @@ SUBDIR = rc.d
include $(OBJDIR)/Makeconf
RC_SCRIPTS = 2.mysql-server.sh 3.testbed.sh 2.elvind.sh
RC_SCRIPTS = 2.mysql-server.sh 3.testbed.sh 2.elvind.sh 1.named.sh
#
# Force dependencies to make sure configure regenerates if the .in file
# is changed.
......
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