Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- IRC_HOST="login@server"
- /usr/bin/false # Forces $? != 0
- while (( $? != 0 )); do # ssh hung
- ssh -o ServerAliveInterval=10 -t "${IRC_HOST}" "bash /home/irssi/start_irc.sh"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement