#!/bin/sh case $1 in on) simple-mtpfs --device 1 /mnt/cel/ ;; off) fusermount -u /mnt/cel/ ;; *) echo "Can't help you with that" ;; esac