Add a label

This commit is contained in:
Bob Mottram 2015-11-04 21:34:05 +00:00
parent 5039a5526e
commit 74e5eef3fd
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if [ ! "$?" = "0" ]; then
echo "Failed to open LUKS formatted drive $USB_DRIVE"
exit 37232
fi
mkfs.ext4 /dev/mapper/encrypted_usb
mkfs.ext4 /dev/mapper/encrypted_usb -L Freedombone
if [ ! "$?" = "0" ]; then
cryptsetup luksClose encrypted_usb
echo 'Format of drive $USB_DRIVE failed'