slitaz-tools rev 380

mountbox: cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 15 22:20:22 2009 +0200 (2009-08-15)
parents 9eafe366717d
children d8c2f18f96c2
files lib/libmountbox
line diff
     1.1 --- a/lib/libmountbox	Sat Aug 15 22:13:56 2009 +0200
     1.2 +++ b/lib/libmountbox	Sat Aug 15 22:20:22 2009 +0200
     1.3 @@ -582,14 +582,7 @@
     1.4  		*)	key="32 sha512";;
     1.5  		esac
     1.6  		getdevinfo $DEVICE
     1.7 -cat > /root/titi <<EOT
     1.8 -$PASS_PHRASE
     1.9 -hashalot -x -n $key
    1.10 -EOT
    1.11  		key=$(echo $PASS_PHRASE | hashalot -x -n $key)
    1.12 -cat >> /root/titi <<EOT
    1.13 -echo 0 $BLOCKS crypt aes-plain $key 0 $DEVICE 0 | dmsetup create $(dmlabel $DEVICE)
    1.14 -EOT
    1.15  		echo 0 $BLOCKS crypt aes-plain $key 0 $DEVICE 0 | \
    1.16  				dmsetup create $(dmlabel $DEVICE)
    1.17  		;;