From 7bbb2de1ae0dcdee00dac07b7f8ead46c9407ae3 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Mon, 6 Nov 2023 13:21:19 -0500 Subject: v0.0.5 --- src/Makefile | 2 +- src/usr/libexec/myautomount/myautomount-initialize.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 src/usr/libexec/myautomount/myautomount-initialize.sh (limited to 'src') 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 old mode 100644 new mode 100755 index 1798c65..5cd0083 --- 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}" -- cgit