summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial.setlanip
diff options
context:
space:
mode:
authorPhillip Davis <ict.advisor@nepal.inf.org>2014-02-07 09:50:06 -0800
committerPhillip Davis <ict.advisor@nepal.inf.org>2014-02-07 09:50:06 -0800
commit974fb32ccd894df6c4aafefe75c659288bd60002 (patch)
tree70f23c29aa2d35311af40050d8248ddc529dcbc0 /etc/rc.initial.setlanip
parent59c6e2181f4c95eb68c9ef909b2675bea1d4ec8f (diff)
downloadpfsense-974fb32ccd894df6c4aafefe75c659288bd60002.zip
pfsense-974fb32ccd894df6c4aafefe75c659288bd60002.tar.gz
Enhance interface gateway data entry descriptions
Diffstat (limited to 'etc/rc.initial.setlanip')
-rwxr-xr-xetc/rc.initial.setlanip4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip
index 13a9bdc..8b3a820 100755
--- a/etc/rc.initial.setlanip
+++ b/etc/rc.initial.setlanip
@@ -306,8 +306,8 @@ function console_configure_ip_address($version) {
$subnet = gen_subnet($intip, $intbits);
}
do {
- echo "\n" . sprintf(gettext("Enter the new %s %s gateway address. Press <ENTER> for none:"),
- $upperifname, $label_IPvX) . "\n> ";
+ echo "\n" . sprintf(gettext("For a WAN, enter the new %s %s upstream gateway address."), $upperifname, $label_IPvX) . "\n" .
+ gettext("For a LAN, press <ENTER> for none:") . "\n> ";
$gwip = chop(fgets($fp));
$is_ipaddr = ($version === 6) ? is_ipaddrv6($gwip) : is_ipaddrv4($gwip);
$is_in_subnet = $is_ipaddr && ip_in_subnet($gwip, $subnet . "/" . $intbits);
OpenPOWER on IntegriCloud