summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/installer/installer.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php
index 8c51d4e..d67a150 100644
--- a/usr/local/www/installer/installer.php
+++ b/usr/local/www/installer/installer.php
@@ -843,6 +843,7 @@ EOF;
<input type="submit" value="Next">
</div>
<script type="text/javascript">
+ var encryption_warning_shown = false;
\$('contentdiv').appear();
function onfstypeChange() {
for(var x = 0; x<99; x++) { //optimize me better
@@ -850,7 +851,10 @@ EOF;
var fstype = \$F('fstype' + x);
if(fstype.substring(fstype.length - 4) == ".eli") {
\$('encpass' + x).disabled = 0;
- alert('NOTE: If you define a disk encryption password you will need to enter it on *EVERY* bootup!');
+ if(!encryption_warning_shown) {
+ alert('NOTE: If you define a disk encryption password you will need to enter it on *EVERY* bootup!');
+ encryption_warning_shown = true;
+ }
} else {
\$('encpass' + x).disabled = 1;
}
OpenPOWER on IntegriCloud