From a96ffb6b5d96d21be1d5bfa8181d3aeb71da547c Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 2 Oct 2020 13:50:31 -0400 Subject: fix for devuan apparently UID is not transmitted everywhere, and also add some dependencies. --- src/usr/bin/myautomountd | 1 + 1 file changed, 1 insertion(+) (limited to 'src/usr/bin/myautomountd') 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}" -- cgit