summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.initial.setlanip7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip
index e14df17..59c1033 100755
--- a/etc/rc.initial.setlanip
+++ b/etc/rc.initial.setlanip
@@ -215,7 +215,10 @@
if ($intip != '') {
echo "\n\n" . gettext("The IPv4 {$interface} address has been set to ") . "{$intip}/{$intbits}\n" ;
echo gettext('You can now access the webConfigurator by opening the following URL in your web browser:') . "\n";
- echo " {$config['system']['webgui']['protocol']}://{$intip}/\n";
+ if(!empty($config['system']['webgui']['port'])) {
+ $webuiport = $config['system']['webgui']['port'];
+ }
+ echo " {$config['system']['webgui']['protocol']}://{$intip}:{$port/\n";
}
echo "\n" . gettext('Press <ENTER> to continue.');
@@ -223,4 +226,4 @@
fgets($fp);
fclose($fp);
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud