summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-14 16:58:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-14 16:58:41 +0000
commitf903e2615e02021c01accad04ea192ffb578bb9d (patch)
treef47630dc82f25051242395cbb272e2ae12dd5d8d
parent0f9d0718e052310e26d7edf56314f4fd60fb86b8 (diff)
downloadpfsense-f903e2615e02021c01accad04ea192ffb578bb9d.zip
pfsense-f903e2615e02021c01accad04ea192ffb578bb9d.tar.gz
Ask about keyboard mapping earlier in the process
-rw-r--r--etc/inc/config.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index cf9d27e..ab3e697 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -993,6 +993,12 @@ function set_networking_interfaces_ports() {
global $g;
global $fp;
+ if(file_exists("/usr/sbin/kbdmap")) {
+ echo "Would you like to change the keyboard mapping [n]? ";
+ if (strcasecmp(chop(fgets($fp)), "y") == 0)
+ exec("/usr/sbin/kbdmap");
+ }
+
$fp = fopen('php://stdin', 'r');
$iflist = get_interface_list();
@@ -1013,12 +1019,6 @@ EOD;
}
}
-if(file_exists("/usr/sbin/kbdmap")) {
- echo "Would you like to change the keyboard mapping [n]? ";
- if (strcasecmp(chop(fgets($fp)), "y") == 0)
- exec("/usr/sbin/kbdmap");
-}
-
echo <<<EOD
Do you want to set up VLANs first?
OpenPOWER on IntegriCloud