dont show rndc messages

This commit is contained in:
Llewellyn van der Merwe 2017-07-25 10:05:12 +01:00
parent 68dbfeb3d0
commit a623ff9336
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
1 changed files with 2 additions and 2 deletions

View File

@ -242,8 +242,8 @@ function setDNS () {
if [ -f "/etc/rndc.conf" ]
then
cd /var/named
rndc reload "$RELOADNAME" IN external
rndc reload "$RELOADNAME" IN internal
rndc reload "$RELOADNAME" IN external 2>/dev/null
rndc reload "$RELOADNAME" IN internal 2>/dev/null
cd ~
fi
echo "Done"