aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns/tinydns.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-01-30 01:02:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-01-30 01:02:02 +0000
commitb041386ee876d663f13f47037006deacc17bc663 (patch)
treed3362a543cfb32a6db2b4c203c93857fffb21531 /packages/tinydns/tinydns.inc
parent48683893a3bcc66e08ad02d6ab2d29bb3aee146a (diff)
downloadpfsense-packages-b041386ee876d663f13f47037006deacc17bc663.tar.gz
pfsense-packages-b041386ee876d663f13f47037006deacc17bc663.tar.bz2
pfsense-packages-b041386ee876d663f13f47037006deacc17bc663.zip
Ensure the Gdnscache user exists.
Diffstat (limited to 'packages/tinydns/tinydns.inc')
-rw-r--r--packages/tinydns/tinydns.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc
index a2bb66bc..1711d1a6 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -161,6 +161,7 @@ function tinydns_custom_php_changeip_command() {
exec("/usr/sbin/pw useradd Gtinydns");
exec("/usr/sbin/pw useradd Gdnslog");
+ exec("/usr/sbin/pw useradd Gdnscache");
exec("/usr/local/bin/tinydns-conf Gtinydns Gdnslog /etc/tinydns {$dnsserverip}");
exec("/bin/ln -s /etc/tinydns /service/");