opnsense-ports/filesystems/avfs/files/patch-scripts_mountavfs
Franco Fichtner a2caadc357 */*: sync with upstream
Taken from: FreeBSD
2024-11-07 11:56:40 +01:00

11 lines
285 B
Text

--- scripts/mountavfs.orig 2016-09-16 18:43:19 UTC
+++ scripts/mountavfs
@@ -14,7 +14,7 @@ else
MntDir=${HOME}/.avfs
fi
-grep -qE "avfsd ${MntDir}" /proc/mounts || {
+mount -p | grep -qE "${MntDir}.*fusefs" || {
if [ ! -e "$MntDir" ]; then
mkdir -p "$MntDir"
fi