appdwarf/DirRun

10 lines
152 B
Plaintext
Raw Normal View History

#!/bin/sh
DIR=
if [ ! -d "$DIR" ]; then
mkdir "$DIR"
bindfs --no-allow-other "$APPDIR" "$DIR"
else
fusermount -u "$DIR"
rmdir "$DIR"
fi