#!/usr/bin/env bash set -euf -o pipefail case $1 in on) simple-mtpfs --device 1 /mnt/cel/ ;; off) fusermount -u /mnt/cel/ ;; *) echo "Can't help you with that" ;; esac