aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-11-06 13:21:19 -0500
committerB. Stack <bgstack15@gmail.com>2023-11-06 13:21:19 -0500
commit7bbb2de1ae0dcdee00dac07b7f8ead46c9407ae3 (patch)
treea1a9855b4f8e19fff4641ba77b66fa3f40b28c72 /src
parentv0.0.4 add floppy icon, reenable /browse/sdc1 format (diff)
downloadmyautomount-7bbb2de1ae0dcdee00dac07b7f8ead46c9407ae3.tar.gz
myautomount-7bbb2de1ae0dcdee00dac07b7f8ead46c9407ae3.tar.bz2
myautomount-7bbb2de1ae0dcdee00dac07b7f8ead46c9407ae3.zip
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