3 if [ ! -x /sbin/cryptsetup ]; then
12 # Check if the volume is really a luks volume
13 /sbin/cryptsetup isLuks $MOUNTFROM
14 if [ "$?" -ne "0" ]; then
19 /sbin/cryptsetup $OPTIONS luksOpen $MOUNTFROM $VOLUME
20 if [ "$?" -ne "0" ]; then
24 # Mount, as is expected, onto /new_root
25 mount -t $FSTYPE /dev/mapper/$VOLUME /new_root
26 if [ "$?" -ne "0" ]; then