From 896d31cf90c39ffe47bfe4d38c92e64b7a8c25b6 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Sun, 16 Feb 2025 14:41:25 -0600 Subject: [PATCH] export notes --- roles/usb_lib/templates/mount.d/70-usb-library.j2 | 2 +- roles/usb_lib/templates/umount.d/70-usb-library.j2 | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/usb_lib/templates/mount.d/70-usb-library.j2 b/roles/usb_lib/templates/mount.d/70-usb-library.j2 index 7b0ac9c97..433b697f6 100644 --- a/roles/usb_lib/templates/mount.d/70-usb-library.j2 +++ b/roles/usb_lib/templates/mount.d/70-usb-library.j2 @@ -11,7 +11,7 @@ # Jerry Vonau jvonau3@gmail.com # # exported from usbmount -# UM_DEVICE="/$DEVNAME" +# UM_DEVICE="$device" # UM_MOUNTPOINT="$mountpoint" # UM_FILESYSTEM="$fstype" # UM_MOUNTOPTIONS="$options" diff --git a/roles/usb_lib/templates/umount.d/70-usb-library.j2 b/roles/usb_lib/templates/umount.d/70-usb-library.j2 index 4f55d4d6a..babf8cf2e 100644 --- a/roles/usb_lib/templates/umount.d/70-usb-library.j2 +++ b/roles/usb_lib/templates/umount.d/70-usb-library.j2 @@ -9,6 +9,11 @@ # # by Tim Moody tim@timmoody.com # Jerry Vonau jvonau3@gmail.com +# +# exported from usbmount +# UM_DEVICE="$device" +# UM_MOUNTPOINT="$mountpoint" +# UM_FILESYSTEM="$fstype" CONTENT_LINK_USB=$(basename $UM_MOUNTPOINT | awk '{print toupper($0)}') CONTENT_LINK="{{ doc_root }}/local_content/$CONTENT_LINK_USB"