Add a label
This commit is contained in:
parent
5039a5526e
commit
74e5eef3fd
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue