All pastes #610723 Raw Edit

Something

public text v1 · immutable
·published 2007-07-09 16:36 UTC
rendered paste body
ifconfig lo up

cryptsetup -c aes -d /media/hda1/etc/crypto/hda5-32.key create musikk /dev/hda5

cryptsetup -c aes -d /media/hda1/etc/crypto/hdb1-32.key create backup /dev/hdb1


## Check the disk(s) for errors

fsck -t $fsocd -T -C -y /dev/mapper/musikk
        if [[ "$?" != "0" ]] || [[ "$?" != "1" ]]
        then exit 1 ;
        fi
mount /dev/mapper/musikk /musikk/

fsck -t $fsocd -T -C -y /dev/mapper/backup
        if [[ "$?" != "0" ]] || [[ "$?" != "1" ]]
        then exit 1 ;
        fi
mount /dev/mapper/backup /backup/

exit 0

/etc/brannmur/./firewall start
/etc/brannmur/./ban-ip