summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial.setlanip
diff options
context:
space:
mode:
authorPhillip Davis <ict.advisor@nepal.inf.org>2014-02-07 09:55:38 -0800
committerPhillip Davis <ict.advisor@nepal.inf.org>2014-02-07 09:55:38 -0800
commitc1d59c7a4f559efeebc629bce7f1f1f1f3f78d5a (patch)
tree0e3da02ed8e1b7e941e40c33e735e1e3079627e8 /etc/rc.initial.setlanip
parent6002c9be95e1666bbad22f251f7b7fdb63486e8a (diff)
downloadpfsense-c1d59c7a4f559efeebc629bce7f1f1f1f3f78d5a.zip
pfsense-c1d59c7a4f559efeebc629bce7f1f1f1f3f78d5a.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