diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-06-13 12:31:18 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-06-13 12:31:18 +0000 |
commit | 35380504627cde962d1f509e494a0ba7112a0333 (patch) | |
tree | dd4f5abb8c8cff8f9f5d3b12141b63627c1b12d2 | |
parent | 995047da25595dd4c8c56f2883ae008139136d0f (diff) | |
download | pfsense-35380504627cde962d1f509e494a0ba7112a0333.zip pfsense-35380504627cde962d1f509e494a0ba7112a0333.tar.gz |
Show Port of the webui if it is set
-rwxr-xr-x | etc/rc.initial.setlanip | 7 |
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 +?> |