aboutsummaryrefslogtreecommitdiff
path: root/src/usr/bin/myautomountd
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/bin/myautomountd')
-rwxr-xr-xsrc/usr/bin/myautomountd9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/usr/bin/myautomountd b/src/usr/bin/myautomountd
index d23940a..3501b97 100755
--- a/src/usr/bin/myautomountd
+++ b/src/usr/bin/myautomountd
@@ -4,11 +4,10 @@
# Authors: beanpole135, bgstack15
# Startdate: 2020-09-23
# Title: Automount in Shell
-# Purpose: almost one-for-one translation of Go version
+# Purpose:
# History:
-# 2020-09-23 translated by bgstack15 to shell from Go version (reference 1)
-# Several translation notes: configuration split out into separate file
-# and given a Fedora flavor.
+# 2020-09-23 originally translated by bgstack15 to shell from Go version (reference 1)
+# 2020-09-25 diverged from original architecture
# Usage:
# Invoke this at X startup. This can be from the xdg autostart mechanism, or "exec myautomountd &" in ~/fluxbox.startup
# This is the backend to myautomount-trayicon
@@ -124,7 +123,7 @@ mkdir -p "${AUTOMOUNT_BASEDIR}"
udevadm monitor -u -s block 1> "${AUTOMOUNT_TMPFILE}" &
export AUTOMOUNT_PID="${!}"
test -n "${DEBUG}" && env | grep -E '^AUTOMOUNT_' 1>&2
-while ! test -e /tmp/kill-automount ;
+while ! test -e /tmp/kill-myautomount ;
do
tail -F "${AUTOMOUNT_TMPFILE}" 2>/dev/null | while read line ;
do
bgstack15