mirror of
https://github.com/namibia/demo-sync.git
synced 2024-11-21 19:15:10 +00:00
dont show rndc messages
This commit is contained in:
parent
68dbfeb3d0
commit
a623ff9336
4
getip.sh
4
getip.sh
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user