diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-06-15 07:53:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-15 07:53:04 +0200 |
commit | a40f2810b0e9f8f8da13fb73f384d5dcbc3042f0 (patch) | |
tree | 80d0f19bc7a1598ed3eeb659f6b7c828bf10361d | |
parent | 8aee36f14d85b2ff5196790bf07ea3827641ec2d (diff) | |
parent | e7ccdd3f38d11616916a17fbdb90243d40df50e1 (diff) | |
download | vyatta-cfg-system-a40f2810b0e9f8f8da13fb73f384d5dcbc3042f0.tar.gz vyatta-cfg-system-a40f2810b0e9f8f8da13fb73f384d5dcbc3042f0.zip |
Merge pull request #72 from shafer/pdnsfixes
Cleans up an old reference to dnsmasq in static-host-mapping
-rw-r--r-- | templates/system/static-host-mapping/host-name/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/system/static-host-mapping/host-name/node.def b/templates/system/static-host-mapping/host-name/node.def index 09bc9dbe..9d815965 100644 --- a/templates/system/static-host-mapping/host-name/node.def +++ b/templates/system/static-host-mapping/host-name/node.def @@ -12,10 +12,10 @@ end: sudo sh -c " touch /etc/hosts sed -i '/ $VAR(@) .*#vyatta entry/d' /etc/hosts if [ -z \"$VAR(./inet/@)\" ]; then - if cli-shell-api existsActive service dns forwarding; then /etc/init.d/dnsmasq restart >&/dev/null; fi + if cli-shell-api existsActive service dns forwarding; then /etc/init.d/pdns-recursor restart >&/dev/null; fi exit 0 fi declare -a aliases=( $VAR(alias/@@) ) echo -e \"$VAR(inet/@)\\t $VAR(@) \${aliases[*]} \\t #vyatta entry\" >> /etc/hosts - if cli-shell-api existsActive service dns forwarding; then /etc/init.d/dnsmasq restart >&/dev/null; fi" + if cli-shell-api existsActive service dns forwarding; then /etc/init.d/pdns-recursor restart >&/dev/null; fi" |