summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-07-30 18:52:13 -0300
committerRenato Botelho <renato@netgate.com>2015-07-30 18:52:13 -0300
commit5f6af1cdf43ce0662ac82ad503f98f999e7cd51b (patch)
tree78acee2618fc49f2b15b7891d1051532a38fe2a9
parent996f5a5b64ee835b7abf37f8aa05c531a43bd1be (diff)
downloadpfsense-5f6af1cdf43ce0662ac82ad503f98f999e7cd51b.zip
pfsense-5f6af1cdf43ce0662ac82ad503f98f999e7cd51b.tar.gz
Remove options ~ and ! from valid keys on cdrom boot menu
-rwxr-xr-xetc/rc.bootup2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 332e629..2dc449f 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -45,7 +45,7 @@ function rescue_detect_keypress() {
echo "Timeout before auto boot continues (seconds): {$timeout}";
$key = null;
exec("/bin/stty erase " . chr(8));
- while (!in_array($key, array("c", "C", "r", "R", "i", "I", "~", "!"))) {
+ while (!in_array($key, array("c", "C", "r", "R", "i", "I"))) {
echo chr(8) . "{$timeout}";
`/bin/stty -icanon min 0 time 25`;
$key = trim(`KEY=\`dd count=1 2>/dev/null\`; echo \$KEY`);
OpenPOWER on IntegriCloud