From f031bf5879fb924ce7ff09f358a00731d46357df Mon Sep 17 00:00:00 2001 From: Benoit GUERIN Date: Sun, 5 Aug 2012 17:46:09 +0200 Subject: Deleting dead code --- config/tinydns/tinydns.inc | 21 --------------------- config/tinydns/tinydns.xml | 40 ---------------------------------------- 2 files changed, 61 deletions(-) (limited to 'config/tinydns') 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 @@ - - listtopic - Advanced tunables (OPTIONAL) - temp - - - Minimum segment size - minsegment - Recommended size: 10240 or larger. - input - 10240 - - - Maximum file size - maxfilesize - Recommended size: 10240 or larger. - input - 10240 - - - Max Segment size - maxsegment - Recommended size: 20480 or larger. - input - 20480 - - - Maximum file descriptors - maxfd - Recommended size: 100 or larger. - input - 100 - - - Maximum children processes - maxchild - Recommended size: 40 or larger. - input - 40 - tinydns_custom_php_changeip_command(); -- cgit v1.2.3