summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial.setlanip
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-06-13 12:31:18 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-06-13 12:31:18 +0000
commit35380504627cde962d1f509e494a0ba7112a0333 (patch)
treedd4f5abb8c8cff8f9f5d3b12141b63627c1b12d2 /etc/rc.initial.setlanip
parent995047da25595dd4c8c56f2883ae008139136d0f (diff)
downloadpfsense-35380504627cde962d1f509e494a0ba7112a0333.zip
pfsense-35380504627cde962d1f509e494a0ba7112a0333.tar.gz
Show Port of the webui if it is set
Diffstat (limited to 'etc/rc.initial.setlanip')
-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