~craftyguy/blog.craftyguy.net

d70b269da75ea999d51424b081067046ad3b378a — Clayton Craft 8 months ago 9f9e5c9
content/garmin_udiskie: fix hardcoded disk value in script
1 files changed, 1 insertions(+), 1 deletions(-)

M content/garmin_udiskie.md
M content/garmin_udiskie.md => content/garmin_udiskie.md +1 -1
@@ 35,7 35,7 @@ disk="$2"
# only pay attention to device_mounted event
[ "$event" != "device_mounted" ] && exit 0

label="$(lsblk -n -o label /dev/sdb)"
label="$(lsblk -n -o label "$disk")"
[ "$label" != "GARMIN" ] && exit 0

ride_dir="/run/media/$(whoami)/GARMIN/GARMIN/ACTIVITY"