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

Usb canary notification command

parent 19e2d98b
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ if [ ! -f /tmp/.upgrading ]; then
fi
msgstr=$(echo -e $"USB device connected on ${DEVPATH}\\n\\n${devices_changed}")
/usr/local/bin/${PROJECT_NAME}-notification -m "$msgstr" -s $"${PROJECT_NAME} USB canary"
/bin/bash /usr/local/bin/${PROJECT_NAME}-notification -s $"${PROJECT_NAME} USB canary" -m "$msgstr"
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