diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/usr/bin/myautomount-trayicon | 1 | ||||
-rwxr-xr-x | src/usr/bin/myautomountd | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/bin/myautomount-trayicon b/src/usr/bin/myautomount-trayicon index d6ccc9f..7760a56 100755 --- a/src/usr/bin/myautomount-trayicon +++ b/src/usr/bin/myautomount-trayicon @@ -1,5 +1,6 @@ #!/bin/sh # Part of myautomount project +test -z "${UID}" && export UID="$( $( which id ) -u "${USER}" )" . ${MYA_PREFIX}/etc/myautomount.conf MYA_USER_CFG="${XDG_CONFIG_HOME:-${HOME}/.config}/myautomount.conf" test -r "${MYA_USER_CFG}" && . "${MYA_USER_CFG}" diff --git a/src/usr/bin/myautomountd b/src/usr/bin/myautomountd index 06bb2da..0cbfb1f 100755 --- a/src/usr/bin/myautomountd +++ b/src/usr/bin/myautomountd @@ -115,6 +115,7 @@ createEntry() { } # INITIALIZE +test -z "${UID}" && export UID="$( $( which id ) -u "${USER}" )" . ${MYA_PREFIX}/etc/myautomount.conf trap '__ec=$? ; clean_automount ; trap "" 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 19 20 ; exit ${__ec} ;' 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 19 20 mkdir -p "${AUTOMOUNT_BASEDIR}" |