summaryrefslogtreecommitdiff
path: root/templates/system/name-server/node.def
diff options
context:
space:
mode:
authorrbalocca <rbalocca@fugazi.vyatta.com>2007-12-05 09:56:10 -0800
committerrbalocca <rbalocca@fugazi.vyatta.com>2007-12-05 09:56:10 -0800
commit8b00422b60deb69fa9abbfe584e69b5853c5e8af (patch)
tree47eb6ae79dc0f7084a2723c32e863980f943d928 /templates/system/name-server/node.def
parente68b9e536f618582774313c04fc53ad4f6eb4ab1 (diff)
parenta42b9776af35929a1de00940fdf24337b028230e (diff)
downloadvyatta-cfg-system-8b00422b60deb69fa9abbfe584e69b5853c5e8af.tar.gz
vyatta-cfg-system-8b00422b60deb69fa9abbfe584e69b5853c5e8af.zip
Merge branch 'master' into glendale
Diffstat (limited to 'templates/system/name-server/node.def')
-rw-r--r--templates/system/name-server/node.def4
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\" "