[Linux-Biella] /etc/init.d/cryptdisks stop

PaulTT paultt a bilug.it
Mer 4 Nov 2015 17:22:28 CET


On 28/10/2015 12:47, PaulTT wrote:
> il suddetto script, mentre spengo, mi si pianta cosi':
>
> Stopping remaining crypto disks....
> e non si spegne piu' la macchina
>
> in verita' i dischi li ha gia' disattivati tutti, e mi importa poco 
> tanto riavvio ogni N mesi, pero' mi piacerebbe capire il perche' rompa 
> le palle....
>
> idee???
>

boh modificato /lib/cryptsetup/cryptdisks.functions da:
========8<----------
         if [ "$found" = "yes" ]; then
                 cryptsetup luksClose "$dst"
         else
                 cryptsetup remove "$dst"
         fi
========8<----------
a:
========8<----------
         if [ "$found" = "yes" ]; then
                 timeout -k 30 30 cryptsetup luksClose "$dst"
         else
                 cryptsetup remove "$dst"
         fi
========8<----------


e fancu'
tanto riavvio due volte all'anno :D

-- 
It is a good day to die. But the day is not yet over.



Maggiori informazioni sulla lista Linux