freebsd-src/usr.sbin/named.restart/named.restart.sh
Murray Stokely 5551534696 Source rc.conf so that named.restart can restart named with the correct
flags.

PR:		misc/25049
Submitted by:	Richard Roderick <richard@gohome.net>
2001-04-11 02:12:14 +00:00

14 lines
274 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 restart ${named_flags}