Update seedbox-mount

6df6333e18e545eca49d6e0302da6ff27f591d5c
Alexis Sellier committed ago 1 parent d60fc928
bin/seedbox-mount +2 -1
1 1
#!/bin/sh
2 2
3 3
uid="$(id -u $USER)"
4 4
gid="$(id -g $USER)"
5 5
6 -
mountpoint=/home/plex
6 +
mountpoint=${MOUNTPOINT-/home/plex}
7 +
mkdir -p $mountpoint
7 8
8 9
fusermount -u $mountpoint 2>/dev/null
9 10
10 11
sshfs $SEEDBOX_URI \
11 12
	"$mountpoint" \