mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
logging
This commit is contained in:
parent
20cda93f23
commit
c935eb52bc
1 changed files with 2 additions and 2 deletions
|
@ -6,9 +6,9 @@ MNT_POINT=$(findmnt -no target $DEVICE)
|
|||
CONTENT_LINK_USB=$(basename $MNT_POINT | awk '{print toupper($0)}')
|
||||
CONTENT_LINK="/library/www/html/local_content/$CONTENT_LINK_USB"
|
||||
|
||||
logger -t "usb_lib (iiab-clean-usb.sh)" "Attempting to remove symlink $CONTENT_LINK, as auto-created earlier by usbmount."
|
||||
logger -t "usbmount (iiab-clean-usb.sh)" "Attempting to remove symlink $CONTENT_LINK, as auto-created earlier by usb_lib."
|
||||
|
||||
if [ -L $CONTENT_LINK ]; then
|
||||
/usr/bin/rm $CONTENT_LINK
|
||||
logger -t "usb_lib (iiab-clean-usb.sh)" "Symlink $CONTENT_LINK removed, as auto-created earlier by usbmount."
|
||||
logger -t "usbmount (iiab-clean-usb.sh)" "Symlink $CONTENT_LINK removed, as auto-created earlier by usb_lib."
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue