dev-utils/sshfs/stop.sh
2023-10-23 14:38:37 +02:00

12 lines
227 B
Bash
Executable File

#!/bin/sh
source $(dirname `readlink -f "$0"`)/../utils/config.sh
if [ -d "$LOCAL_U2W_DIR" ]; then
mountpoint --quiet $LOCAL_U2W_DIR
if [ $? -eq 0 ]; then
fusermount -u $LOCAL_U2W_DIR
rmdir $LOCAL_U2W_DIR
fi
fi