diff options
| author | lukem <lukem@NetBSD.org> | 1999-02-17 13:36:00 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 1999-02-17 13:36:00 +0000 |
| commit | d5df3fdbce2f0d0a299a4fcd7e9791e793a79c31 (patch) | |
| tree | 5285454d74ec0e32f1a69cdb3bb835b677f98d45 /usr.sbin/bind | |
| parent | 1bb2b4dd788e6447134153fb2defb0c95ed0379f (diff) | |
support $named_flags from rc.conf (this got lost in the upgrade to bind8)
Diffstat (limited to 'usr.sbin/bind')
| -rw-r--r-- | usr.sbin/bind/ndc/ndc.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/bind/ndc/ndc.sh b/usr.sbin/bind/ndc/ndc.sh index 1214cf54101..d88363f3149 100644 --- a/usr.sbin/bind/ndc/ndc.sh +++ b/usr.sbin/bind/ndc/ndc.sh @@ -1,6 +1,10 @@ #!/bin/sh # -# $NetBSD: ndc.sh,v 1.1.1.1 1998/10/05 18:02:00 tron Exp $ +# $NetBSD: ndc.sh,v 1.2 1999/02/17 13:36:00 lukem Exp $ + +if [ -f /etc/rc.conf ]; then + . /etc/rc.conf +fi USAGE='echo \ "usage: $0 \ @@ -51,7 +55,7 @@ do continue } rm -f $PIDFILE - %NAMED% && { + %NAMED% $named_flags && { sleep 5 echo Name Server Started } @@ -72,7 +76,7 @@ do kill $PID && sleep 5 } rm -f $PIDFILE - %NAMED% && { + %NAMED% $named_flags && { sleep 5 echo Name Server Restarted } |
