Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- LIST=`cat ~/bin/tcpblock_blacklist.log`
- if [[ $LIST == *$VAR* ]]
- then
- exit
- else
- terminal-notifier -title TCPBlock -message "$VAR" -execute "osascript ~/bin/tcpblock_dialog.scpt '$VAR'" -sender com.apple.ScriptEditor.id.TCPBlock
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement