#!/bin/sh


stop_service(){
	killall named
	log_success_msg "BIND stopped"

}

start_service(){
	/usr/sbin/named
	log_success_msg "BIND started"
}
. /lib/lsb/init-functions
case "${1}" in
   start)
      start_service;

      ;;

  stop)
      stop_service;
      ;;

   restart)
      ${0} stop
      sleep 1
      ${0} start
      ;;

   *)
      echo "Usage: ${0} {start|stop|restart}"
      exit 1
      ;;
esac

exit 0

# End network
