dotfiles/.bin/mount_rsync

10 lines
182 B
Plaintext
Raw Normal View History

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