Update ircnotify.sh #1
@ -10,6 +10,9 @@ notify()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Avoid spawning script twice.
|
||||||
|
ps aux | grep ircnotify.sh | grep -v grep | grep -v $$ && exit
|
||||||
|
|
||||||
(ssh irc.walkah.net -o PermitLocalCommand=no \
|
(ssh irc.walkah.net -o PermitLocalCommand=no \
|
||||||
": > .irssi/fnotify ; tail -f .irssi/fnotify " | \
|
": > .irssi/fnotify ; tail -f .irssi/fnotify " | \
|
||||||
while read heading message; do \
|
while read heading message; do \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user