Advertisement
Guest User

Untitled

a guest
Oct 25th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. #!/bin/bash
  2. LIST=`cat ~/bin/tcpblock_blacklist.log`
  3. if [[ $LIST == *$VAR* ]]
  4. then
  5. exit
  6. else
  7. terminal-notifier -title TCPBlock -message "$VAR" -execute "osascript ~/bin/tcpblock_dialog.scpt '$VAR'" -sender com.apple.ScriptEditor.id.TCPBlock
  8. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement