summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-08-06 12:00:31 +0000
committerMohit Mehta <mohit.mehta@vyatta.com>2008-08-06 12:00:31 +0000
commitb09a999b8284895f5a8ff0233051a41b61eb690a (patch)
tree202a1a1f8354c65405986a6a0e4c2b9dee01517f
parentd86fe348aa578c5f83bd7c24c0ed2875a343220d (diff)
downloadvyatta-cfg-quagga-b09a999b8284895f5a8ff0233051a41b61eb690a.tar.gz
vyatta-cfg-quagga-b09a999b8284895f5a8ff0233051a41b61eb690a.zip
change 'service dns forward' to 'service dns forwarding'
-rw-r--r--scripts/dns-forwarding/vyatta-dns-forwarding.pl2
-rw-r--r--templates/service/dns/forwarding/cache-size/node.def (renamed from templates/service/dns/forward/cache-size/node.def)0
-rw-r--r--templates/service/dns/forwarding/ignore-interface/node.def (renamed from templates/service/dns/forward/ignore-interface/node.def)0
-rw-r--r--templates/service/dns/forwarding/node.def (renamed from templates/service/dns/forward/node.def)0
-rw-r--r--templates/system/static-host-mapping/host-name/node.def4
5 files changed, 3 insertions, 3 deletions
diff --git a/scripts/dns-forwarding/vyatta-dns-forwarding.pl b/scripts/dns-forwarding/vyatta-dns-forwarding.pl
index 672ec04b..2cfe75e9 100644
--- a/scripts/dns-forwarding/vyatta-dns-forwarding.pl
+++ b/scripts/dns-forwarding/vyatta-dns-forwarding.pl
@@ -61,7 +61,7 @@ sub dnsforwarding_get_values {
my $output = '';
my $config = new VyattaConfig;
- $config->setLevel("service dns forward");
+ $config->setLevel("service dns forwarding");
my @ignore_interfaces = $config->returnValues("ignore-interface");
if ($#ignore_interfaces >= 0) {
diff --git a/templates/service/dns/forward/cache-size/node.def b/templates/service/dns/forwarding/cache-size/node.def
index 3a73f308..3a73f308 100644
--- a/templates/service/dns/forward/cache-size/node.def
+++ b/templates/service/dns/forwarding/cache-size/node.def
diff --git a/templates/service/dns/forward/ignore-interface/node.def b/templates/service/dns/forwarding/ignore-interface/node.def
index f3c80832..f3c80832 100644
--- a/templates/service/dns/forward/ignore-interface/node.def
+++ b/templates/service/dns/forwarding/ignore-interface/node.def
diff --git a/templates/service/dns/forward/node.def b/templates/service/dns/forwarding/node.def
index f84e4f02..f84e4f02 100644
--- a/templates/service/dns/forward/node.def
+++ b/templates/service/dns/forwarding/node.def
diff --git a/templates/system/static-host-mapping/host-name/node.def b/templates/system/static-host-mapping/host-name/node.def
index 07e6b25b..bd9cfab1 100644
--- a/templates/system/static-host-mapping/host-name/node.def
+++ b/templates/system/static-host-mapping/host-name/node.def
@@ -7,10 +7,10 @@ end: sudo sh -c "
touch /etc/hosts
sed -i '/ $VAR(@) .*#vyatta entry/d' /etc/hosts
if [ -z \"$VAR(./inet/@)\" ]; then
- if [ -d /opt/vyatta/config/active/service/dns/forward ]; then /etc/init.d/dnsmasq restart >&/dev/null; fi
+ if [ -d /opt/vyatta/config/active/service/dns/forwarding ]; then /etc/init.d/dnsmasq 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 [ -d /opt/vyatta/config/active/service/dns/forward ]; then /etc/init.d/dnsmasq restart >&/dev/null; fi"
+ if [ -d /opt/vyatta/config/active/service/dns/forwarding ]; then /etc/init.d/dnsmasq restart >&/dev/null; fi"