#!/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