From 35380504627cde962d1f509e494a0ba7112a0333 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Fri, 13 Jun 2008 12:31:18 +0000 Subject: Show Port of the webui if it is set --- etc/rc.initial.setlanip | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'etc/rc.initial.setlanip') 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 to continue.'); @@ -223,4 +226,4 @@ fgets($fp); fclose($fp); -?> \ No newline at end of file +?> -- cgit v1.1