summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.initial.setlanip6
1 files changed, 4 insertions, 2 deletions
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'];
OpenPOWER on IntegriCloud