From ac6ddeffe1d6bbea8c732155c910c02012e174ed Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Sun, 7 Sep 2008 01:17:54 +0000 Subject: fix debug code that never worked and make it disabled by default --- etc/rc.initial.setlanip | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip index 91cbf06..005a641 100755 --- a/etc/rc.initial.setlanip +++ b/etc/rc.initial.setlanip @@ -218,8 +218,10 @@ echo "\n\n" . gettext("The IPv4 {$upperifname} address has been set to ") . "{$intip}\n"; } if (count($ifdescrs) == "1" or $interface = "lan") { - echo "ifdescrs count is count($ifdescrs)\n"; - echo "interface is $interface \n"; + if ($debug) { + echo "ifdescrs count is " . count($ifdescrs) . "\n"; + echo "interface is {$interface} \n"; + } echo gettext('You can now access the webConfigurator by opening the following URL in your web browser:') . "\n"; if(!empty($config['system']['webgui']['port'])) { $webuiport = $config['system']['webgui']['port']; -- cgit v1.1