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"