Created
September 4, 2012 02:58
-
-
Save kanru/3616050 to your computer and use it in GitHub Desktop.
irc connection script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if ping -c1 -q kanru.info > /dev/null 2>&1; then | |
ssh -C -f -L 6667:localhost:6667 kanru.info sleep 10 | |
weechat-curses | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment