blob: eb70d1d0b80bea6d5d7750eefe4a42d0f92e23a7 (
plain) (
tree)
|
|
#!/bin/bash
set -e
uuid=05b7770e-1f01-4b17-83de-ede0a04495a1
instance="$(systemd-escape $uuid)"
case "$1" in
mount)
sudo cryo "$uuid" mount
;;
umount)
sudo cryo "$uuid" umount
;;
*)
sudo systemctl start "cryo@$instance.service"
;;
esac
|