asdf Myautomount was translated to shell almost line-for-line from Go source at https://github.com/project-trident/trident-utilities/blame/master/src-go/automount/main.go but then it diverged. TODO: write makefile write full dependencies (including gtk3) # TESTING AND BUILDING Use environment variable MYA_PREFIX for testing. export MYA_PREFIX=~/dev/myautomount/src sudo DEBUG=1 MYA_PREFIX=~/dev/myautomount/src sh -x usr/libexec/myautomount/myautomount-initialize.sh