Parcourir la source

up to 20sec for uncrypted root wait

Émile Morel il y a 9 ans
Parent
commit
56bc7d0bdd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      olinux/script/initramfs/www/cgi-bin/post.sh

+ 1 - 1
olinux/script/initramfs/www/cgi-bin/post.sh

@@ -5,7 +5,7 @@ eval $(echo "$QUERY_STRING" | awk -F'&' '{for(i=1; i <= NF; i++) { print $i }}')
 
 
 echo -n $(httpd -d $passphrase) > /lib/cryptsetup/passfifo
 echo -n $(httpd -d $passphrase) > /lib/cryptsetup/passfifo
 
 
-for i in $(seq 10); do
+for i in $(seq 20); do
   sleep 1
   sleep 1
 
 
   if [ -f /dev/mapper/root ]; then
   if [ -f /dev/mapper/root ]; then