Allow already mounted keys in emergency script
This commit is contained in:
parent
c096d7fb2d
commit
23c628c9b8
|
@ -20,9 +20,13 @@ if [ "$#" != "1" ] && [ "$2" != "install" ] && [ "$2" != "enter" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Mounting keys"
|
if mountpoint -q /hermes; then
|
||||||
mkdir /hermes
|
echo "Keys already mounted"
|
||||||
mount /dev/disk/by-uuid/7FE7-CA68 /hermes
|
else
|
||||||
|
echo "Mounting keys"
|
||||||
|
mkdir -p /hermes
|
||||||
|
mount /dev/disk/by-uuid/7FE7-CA68 /hermes
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Running disko"
|
echo "Running disko"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue