diff options
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}" |