aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/tinydns/tinydns.xml5
-rw-r--r--packages/tinydns/tinydns_domains.xml6
-rw-r--r--packages/tinydns/tinydns_filter.php34
3 files changed, 39 insertions, 6 deletions
diff --git a/packages/tinydns/tinydns.xml b/packages/tinydns/tinydns.xml
index 6d7d8245..40e99191 100644
--- a/packages/tinydns/tinydns.xml
+++ b/packages/tinydns/tinydns.xml
@@ -9,6 +9,11 @@
<section>Services</section>
<url>/pkg_edit.php?xml=tinydns.xml&amp;id=0</url>
</menu>
+ <tab>
+ <text>TinyDNS Settings</text>
+ <url>/pkg_edit.php?xml=tinydns.xml&amp;id=0</url>
+ <active/>
+ </tab>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>077</chmod>
diff --git a/packages/tinydns/tinydns_domains.xml b/packages/tinydns/tinydns_domains.xml
index f7c07ddc..da34c2fa 100644
--- a/packages/tinydns/tinydns_domains.xml
+++ b/packages/tinydns/tinydns_domains.xml
@@ -33,12 +33,6 @@
<type>input</type>
</field>
<field>
- <fieldname>Failover Threshhold</fieldname>
- <fielddescr>Time in minutes before DNS switches to backup host</fielddescr>
- <required/>
- <type>input</type>
- </field>
- <field>
<type>rowhelper</type>
<rowhelper>
<rowhelperfield>
diff --git a/packages/tinydns/tinydns_filter.php b/packages/tinydns/tinydns_filter.php
new file mode 100644
index 00000000..ae0f166e
--- /dev/null
+++ b/packages/tinydns/tinydns_filter.php
@@ -0,0 +1,34 @@
+<?php
+
+/* $Id$ */
+/*
+ tinydns_filter.php
+ Copyright (C) 2006 Scott Ullrich
+ part of pfSense
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+*/
+
+require("/usr/local/pkg/tinydns.inc");
+
+?> \ No newline at end of file