Skip to content

Instantly share code, notes, and snippets.

@jhuttner
Created May 27, 2011 00:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jhuttner/994415 to your computer and use it in GitHub Desktop.
Make Juniper Network Connect suck less
#!/bin/bash
CNT=`ps -ef | grep -e Network | grep -v grep | wc -l`
if [ $CNT -eq 1 ]; then
kill `ps -ef | grep -e Network | grep -v grep | awk '{print $2}'`
fi
/Applications/Network\ Connect.app/Contents/MacOS/Network\ Connect &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment