Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- tail -1 -f /var/log/system.log | while read line
- do
- [[ "$line" == *tcpblock*block*connection* ]] && (VAR="$(echo $line | cut -c 64- | sed -E 's/ to[ 0-9.:a-z=]*//g')" sh ~/bin/./tcpblock_handler.sh )
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement