diff options
author | B. Stack <bgstack15@gmail.com> | 2023-11-06 13:21:19 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-11-06 13:21:19 -0500 |
commit | 7bbb2de1ae0dcdee00dac07b7f8ead46c9407ae3 (patch) | |
tree | a1a9855b4f8e19fff4641ba77b66fa3f40b28c72 /src/usr | |
parent | v0.0.4 add floppy icon, reenable /browse/sdc1 format (diff) | |
download | myautomount-master.tar.gz myautomount-master.tar.bz2 myautomount-master.zip |
Diffstat (limited to 'src/usr')
-rwxr-xr-x[-rw-r--r--] | src/usr/libexec/myautomount/myautomount-initialize.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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}" |