summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial.setlanip
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-16 07:06:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-16 07:06:59 +0000
commit2c382106273408cd94ccd012672d8395c4c6b628 (patch)
tree8057c0b4309fc3206c734bc3f50029590be5d6b8 /etc/rc.initial.setlanip
parent534334ba9b0a029fc8c4263b4e5cc0f6c37d7c71 (diff)
downloadpfsense-2c382106273408cd94ccd012672d8395c4c6b628.zip
pfsense-2c382106273408cd94ccd012672d8395c4c6b628.tar.gz
* Show interface in upper case to conform to all other areas.
* Add a couple of carriage returns
Diffstat (limited to 'etc/rc.initial.setlanip')
-rwxr-xr-xetc/rc.initial.setlanip5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip
index f55ccbb..51454bb 100755
--- a/etc/rc.initial.setlanip
+++ b/etc/rc.initial.setlanip
@@ -55,7 +55,7 @@
echo "Available interfaces:\n\n";
$x=1;
foreach($ifdescrs as $iface) {
- echo "{$x} - {$iface}\n";
+ echo "{$x} - " . strtoupper($iface) . "}\n";
$x++;
}
echo "\nEnter interface # that you would like to configure: ";
@@ -181,9 +181,10 @@
services_dhcpd_configure();
}
+ echo "\nPlease wait, saving your changes to {$interface}...";
write_config(gettext("{$interface} IP configuration from console menu"));
interfaces_lan_configure();
-
+ echo "\n";
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";
OpenPOWER on IntegriCloud