mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
usb_lib in umount.d/70-usb-library
This commit is contained in:
parent
3e6f551d5c
commit
419e4d0a0c
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@
|
||||||
CONTENT_LINK_USB=$(basename $UM_MOUNTPOINT | awk '{print toupper($0)}')
|
CONTENT_LINK_USB=$(basename $UM_MOUNTPOINT | awk '{print toupper($0)}')
|
||||||
CONTENT_LINK="{{ doc_root }}/local_content/$CONTENT_LINK_USB"
|
CONTENT_LINK="{{ doc_root }}/local_content/$CONTENT_LINK_USB"
|
||||||
|
|
||||||
logger -p user.notice -t "usbmount (70-usb-library)" -- "Attempting to remove link $CONTENT_LINK."
|
logger -p user.notice -t "usbmount - usb_lib (70-usb-library)" -- "Attempting to remove link $CONTENT_LINK."
|
||||||
|
|
||||||
if [ -L $CONTENT_LINK ]; then
|
if [ -L $CONTENT_LINK ]; then
|
||||||
rm -f $CONTENT_LINK
|
rm -f $CONTENT_LINK
|
||||||
logger -p user.notice -t "usbmount (70-usb-library)" -- "$CONTENT_LINK removed."
|
logger -p user.notice -t "usbmount - usb_lib (70-usb-library)" -- "$CONTENT_LINK removed."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue