From 0d5f8b7657527eab8380f5aa81ecd072714cf13c Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 29 Sep 2020 22:47:28 -0400 Subject: add sudo, fix initialization --- src/etc/myautomount.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/etc/myautomount.conf') diff --git a/src/etc/myautomount.conf b/src/etc/myautomount.conf index a64dace..543649a 100644 --- a/src/etc/myautomount.conf +++ b/src/etc/myautomount.conf @@ -2,7 +2,7 @@ # and myautomount-trayicon. # TMPFILE is only needed for trayicon -export AUTOMOUNT_TMPFILE="$( TMPDIR="/run/user/${UID}" mktemp -t ${USER}.automount.XXXXXXXXX )" +test -z "${AUTOMOUNT_DAEMON}" && export AUTOMOUNT_TMPFILE="$( TMPDIR="/run/user/${UID}" mktemp -t ${USER}.automount.XXXXXXXXX )" # DIR and FILE are for the initialization only. These are the most # likely to change per distro. -- cgit