appdwarf/DirRun

10 lines
152 B
Bash
Executable file

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