diff options
author | Ermal <eri@pfsense.org> | 2010-03-24 15:30:40 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-24 15:30:40 +0000 |
commit | 49d3519e11e9b262e7230711b01fd7a0f6ebcb87 (patch) | |
tree | e3151a6d7e3990ddec5bf8d2e8ff41083af6a74e /config/tinydns/tinydns.inc | |
parent | fbd4780bbad7cd2803e44e0e43ce486ba279da1e (diff) | |
download | pfsense-packages-49d3519e11e9b262e7230711b01fd7a0f6ebcb87.tar.gz pfsense-packages-49d3519e11e9b262e7230711b01fd7a0f6ebcb87.tar.bz2 pfsense-packages-49d3519e11e9b262e7230711b01fd7a0f6ebcb87.zip |
Clean directories before running.
Diffstat (limited to 'config/tinydns/tinydns.inc')
-rw-r--r-- | config/tinydns/tinydns.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc index b95faa76..b4fe0f3c 100644 --- a/config/tinydns/tinydns.inc +++ b/config/tinydns/tinydns.inc @@ -176,6 +176,8 @@ function tinydns_custom_php_changeip_command() { exec("/usr/sbin/pw useradd Gdnslog"); exec("/usr/sbin/pw useradd Gdnscache"); exec("/usr/sbin/pw useradd Gaxfrdns"); + exec("/bin/rm -r /etc/dnscache*"); + exec("/bin/rm -r /service/dnscache*"); /* TinyDNS Server */ exec("/usr/local/bin/tinydns-conf Gtinydns Gdnslog /etc/tinydns {$dnsserverip}"); |