diff options
Diffstat (limited to 'src/etc/myautomount.conf')
-rw-r--r-- | src/etc/myautomount.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/etc/myautomount.conf b/src/etc/myautomount.conf new file mode 100644 index 0000000..eef2ca8 --- /dev/null +++ b/src/etc/myautomount.conf @@ -0,0 +1,21 @@ +# This config file is dot-sourced by a shell script, for both the daemon +# and myautomount-trayicon. + +# TMPFILE is only needed for trayicon +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. +export AUTOMOUNT_DIR=/etc/auto.master.d +export AUTOMOUNT_DIR_FILE=/etc/auto.master.d/myautomount.autofs +export AUTOMOUNT_FILE=/etc/autofs.myautomount + +# BASEDIR is where the pseudo-xdg desktop files will go. This directory +# should not be controlled by anything else. +# The daemon places desktop files here that the trayicon uses. +export AUTOMOUNT_BASEDIR=/run/user/${UID}/automedia + +# This needs to match what you put in /etc/autofs.myautomount, and is +# where the filesystems get mounted to. This location should not be +# controlled by anything else. +export AUTOMOUNT_BROWSEDIR=/browse |