diff options
Diffstat (limited to 'templates/system/name-server/node.def')
-rw-r--r-- | templates/system/name-server/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/system/name-server/node.def b/templates/system/name-server/node.def index ff6ddf2e..fe2bcb02 100644 --- a/templates/system/name-server/node.def +++ b/templates/system/name-server/node.def @@ -8,10 +8,10 @@ else \ echo \\\"nameserver\t $(@)\\\" >> /etc/resolv.conf; \ fi && \ if [ -f /etc/ntp.conf ] && grep -q 'server' /etc/ntp.conf; then \ - /usr/sbin/invoke-rc.d ntp restart; \ + /usr/sbin/invoke-rc.d ntp restart >&/dev/null; \ fi\" " delete: "sudo sh -c \"touch /etc/resolv.conf && \ sed -i '/$(@)/d' /etc/resolv.conf && \ if [ -f /etc/ntp.conf ] && grep -q 'server' /etc/ntp.conf; then \ - /usr/sbin/invoke-rc.d ntp restart; \ + /usr/sbin/invoke-rc.d ntp restart >&/dev/null; \ fi\" " |