diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-16 15:46:44 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-16 15:46:44 -0700 |
commit | 6ea3f090fe6d5711f4d627d3aebbb2a588ecf1d0 (patch) | |
tree | 5094be1b16f5d5ee5e7cdf4e748452631d4badc0 /scripts/vyatta-system-nameservers | |
parent | 8fb79ccc7d38dc7d9bf0f4701b4654a9b5451a52 (diff) | |
download | vyatta-cfg-system-6ea3f090fe6d5711f4d627d3aebbb2a588ecf1d0.tar.gz vyatta-cfg-system-6ea3f090fe6d5711f4d627d3aebbb2a588ecf1d0.zip |
remove low-level config dir usage
Diffstat (limited to 'scripts/vyatta-system-nameservers')
-rw-r--r-- | scripts/vyatta-system-nameservers | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-system-nameservers b/scripts/vyatta-system-nameservers index 8756bbb6..1df0f02c 100644 --- a/scripts/vyatta-system-nameservers +++ b/scripts/vyatta-system-nameservers @@ -33,7 +33,7 @@ print_usage() restart_dnsmasq () { # restart dnsmasq if dns-forwarding is configured - if [ -d /opt/vyatta/config/active/service/dns/forwarding ]; then + if cli-shell-api existsActive service dns forwarding; then /opt/vyatta/sbin/vyatta-dns-forwarding.pl --update-dnsforwarding >&/dev/null fi } |