#!/bin/sh if mount | fgrep '/rsync.net' -q then echo "already mounted" exit 1 fi doas sshfs -o idmap=user,allow_other,uid=1000,gid=1000 zh4870@zh4870.rsync.net: /rsync.net