freebsd-dev/usr.sbin/named.restart/named.restart.sh

14 lines
294 B
Bash
Raw Normal View History

#!/bin/sh -
#
# from named.restart 5.4 (Berkeley) 6/27/89
1999-08-28 01:35:59 +00:00
# $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}