home
·
contact
·
privacy
projects
/
config
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Change rules / locations for system scripts included.
[config]
/
bin
/
screen-irssi.sh
1
#!/bin/sh
2
3
# Wait until online.
4
online=0
5
while [ $online -eq 0 ]; do
6
ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` > /dev/null && \
7
online=1 || online=0
8
done
9
echo 1
10
11
# Start irssi in shell in screen.
12
screen -d -m -S irssi
13
screen -S irssi -X stuff 'irssi\n'