Skip to content
Snippets Groups Projects
Commit 84355903 authored by Bob Mottram's avatar Bob Mottram
Browse files

Usb canary message string

parent b5d8f788
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,8 @@ if [ ! -f /tmp/.upgrading ]; then
rm /tmp/.curr_usb_devices
fi
${PROJECT_NAME}-notification -m $"USB device connected on ${DEVPATH}\\n\\n${devices_changed}" -s $"${PROJECT_NAME} USB canary"
msgstr=$(echo -e $"USB device connected on ${DEVPATH}\\n\\n${devices_changed}")
${PROJECT_NAME}-notification -m "$msgstr" -s $"${PROJECT_NAME} USB canary"
echo "${ACTION}" > /tmp/usb-canary
echo "${MY_EMAIL_ADDRESS}" >> /tmp/usb-canary
date >> /tmp/usb-canary
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment