Skip to content

Commit

Permalink
removed debugging entries
Browse files Browse the repository at this point in the history
  • Loading branch information
sakoula committed Nov 13, 2013
1 parent 306baa2 commit fc5b425
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tcpblock-notify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ do
message=$(echo $line | cut -d\ -f7- | cut -d: -f1)
app=$(echo $message | sed 's/^block connection of //' | sed 's/ to .*//')
cmd='/usr/local/bin/tcpblock -a \"'$app'\"'
echo "$message">>/tmp/lakis
echo "$app">>/tmp/lakis
echo "$cmd">>/tmp/lakis
echo "---">>/tmp/lakis
/usr/local/bin/terminal-notifier -title tcpblock -sound Frog -message "$message" -execute "osascript -e 'do shell script \"$cmd\" with administrator privileges'"
# $notifier_path -title tcpblock -sound Frog -message "$message" -execute "osascript -e 'do shell script \"$cmd\" with administrator privileges'"
# check this for escaping http://stackoverflow.com/questions/18535178/trouble-escaping-quotes-in-a-shell-script
Expand Down

0 comments on commit fc5b425

Please sign in to comment.