aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
-rwxr-xr-x[-rw-r--r--]src/usr/libexec/myautomount/myautomount-initialize.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 0192a23..ab5a20d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -14,7 +14,7 @@
# build-devuan: txt2man, bgscripts-core
APPNAME = myautomount
-APPVERSION = 0.0.4
+APPVERSION = 0.0.5
SRCDIR = $(CURDIR)
prefix = /usr
SYSCONFDIR = $(DESTDIR)/etc
diff --git a/src/usr/libexec/myautomount/myautomount-initialize.sh b/src/usr/libexec/myautomount/myautomount-initialize.sh
index 1798c65..5cd0083 100644..100755
--- a/src/usr/libexec/myautomount/myautomount-initialize.sh
+++ b/src/usr/libexec/myautomount/myautomount-initialize.sh
@@ -32,6 +32,7 @@ setupSystem() {
echo "* -fstype=auto,noatime,rw,nosuid :/dev/& "
} > "${MYA_PREFIX}${AUTOMOUNT_FILE}" || fail "Could not setup autofs rules! Check if this is being run as root?"
_needrestart=1
+ }
! grep -q -e "${AUTOMOUNT_BROWSEDIR}" "${MYA_PREFIX}${AUTOMOUNT_DIR_FILE}" 2>/dev/null && {
{
touch "${MYA_PREFIX}${AUTOMOUNT_DIR_FILE}"
bgstack15