5 while [ $online -eq 0 ]; do
6 ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` > /dev/null && \
11 # Start irssi in shell in screen.
13 screen -S irssi -X stuff 'irssi\n'
15 # Send mail to remind user to re-identify to NickServ.
16 ~/config/bin/simplemail.sh ~/config/mails/irssi_identify_reminder