freebsd-dev/usr.sbin/named.restart/named.restart.sh
Dima Dorfman 99ef257e68 Start the correct copy of named (pass ${named_program} to ndc(8)).
PR:		27051
Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
2001-06-14 04:34:40 +00:00

14 lines
294 B
Bash

#!/bin/sh -
#
# from named.restart 5.4 (Berkeley) 6/27/89
# $FreeBSD$
#
if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
source_rc_confs
elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi
exec %DESTSBIN%/%INDOT%ndc -n ${named_program} restart ${named_flags}