diff options
author | Benoit GUERIN <benoit.guerin1@free.fr> | 2012-08-05 17:46:09 +0200 |
---|---|---|
committer | Benoit GUERIN <benoit.guerin1@free.fr> | 2012-08-05 17:46:09 +0200 |
commit | f031bf5879fb924ce7ff09f358a00731d46357df (patch) | |
tree | e7ad32265ce70cdcd267c9af3a9b6820f5151de0 /config | |
parent | 9537ff5001bfb58561a67329c5b4e666f72ed5a8 (diff) | |
download | pfsense-packages-f031bf5879fb924ce7ff09f358a00731d46357df.tar.gz pfsense-packages-f031bf5879fb924ce7ff09f358a00731d46357df.tar.bz2 pfsense-packages-f031bf5879fb924ce7ff09f358a00731d46357df.zip |
Deleting dead code
Diffstat (limited to 'config')
-rw-r--r-- | config/tinydns/tinydns.inc | 21 | ||||
-rw-r--r-- | config/tinydns/tinydns.xml | 40 |
2 files changed, 0 insertions, 61 deletions
diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc index 1b3e7c0c..959a9719 100644 --- a/config/tinydns/tinydns.inc +++ b/config/tinydns/tinydns.inc @@ -59,27 +59,6 @@ function tinydns_custom_php_install_command() { $ipaddress = $config['installedpackages']['tinydns']['config'][0]['ipaddress']; - $minsegment = "10240"; - $maxfilesize = "10240"; - $maxsegment = "20480"; - $maxfd = "100"; - $maxchild = "40"; - - if($config['installedpackages']['tinydns']['config'][0]['minsegment']) - $minsegment = $config['installedpackages']['tinydns']['config'][0]['minsegment']; - - if($config['installedpackages']['tinydns']['config'][0]['maxfilesize']) - $maxfilesize = $config['installedpackages']['tinydns']['config'][0]['maxfilesize']; - - if($config['installedpackages']['tinydns']['config'][0]['maxsegment']) - $maxsegment = $config['installedpackages']['tinydns']['config'][0]['maxsegment']; - - if($config['installedpackages']['tinydns']['config'][0]['maxfd']) - $maxfd = $config['installedpackages']['tinydns']['config'][0]['maxfd']; - - if($config['installedpackages']['tinydns']['config'][0]['maxchild']) - $maxchild = $config['installedpackages']['tinydns']['config'][0]['maxchild']; - if($config['installedpackages']['tinydns']['config'][0]['refreshinterval']) $refreshinterval = $config['installedpackages']['tinydns']['config'][0]['refreshinterval']; diff --git a/config/tinydns/tinydns.xml b/config/tinydns/tinydns.xml index fba16905..b90a2cb3 100644 --- a/config/tinydns/tinydns.xml +++ b/config/tinydns/tinydns.xml @@ -249,46 +249,6 @@ </rowhelperfield> </rowhelper> </field> - <field> - <type>listtopic</type> - <name>Advanced tunables (OPTIONAL)</name> - <fieldname>temp</fieldname> - </field> - <field> - <fielddescr>Minimum segment size</fielddescr> - <fieldname>minsegment</fieldname> - <description>Recommended size: 10240 or larger.</description> - <type>input</type> - <value>10240</value> - </field> - <field> - <fielddescr>Maximum file size</fielddescr> - <fieldname>maxfilesize</fieldname> - <description>Recommended size: 10240 or larger.</description> - <type>input</type> - <value>10240</value> - </field> - <field> - <fielddescr>Max Segment size</fielddescr> - <fieldname>maxsegment</fieldname> - <description>Recommended size: 20480 or larger.</description> - <type>input</type> - <value>20480</value> - </field> - <field> - <fielddescr>Maximum file descriptors</fielddescr> - <fieldname>maxfd</fieldname> - <description>Recommended size: 100 or larger.</description> - <type>input</type> - <value>100</value> - </field> - <field> - <fielddescr>Maximum children processes</fielddescr> - <fieldname>maxchild</fieldname> - <description>Recommended size: 40 or larger.</description> - <type>input</type> - <value>40</value> - </field> </fields> <custom_delete_php_command> tinydns_custom_php_changeip_command(); |