hysteria

ii wrapper script
git clone git://git.2f30.org/hysteria
Log | Files | Refs | README | LICENSE

commit 956ddc8b6352317b2527d48b6b3ca98c311cb56b
parent 86116f6df8b1baaae5946be71e13110327cace9a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun,  9 Nov 2014 14:17:09 +0000

write ii stdout to log file

Diffstat:
Mhysteria | 1-
Mhysteria-connect | 3++-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hysteria b/hysteria @@ -8,7 +8,6 @@ fi . "$config" rm -rf "$ircdir" -mkdir -p "$ircdir" tmux new-session -s "$session" -d "hysteria-monitor \"$config\"" tmux rename-window "monitor" diff --git a/hysteria-connect b/hysteria-connect @@ -21,6 +21,7 @@ fi host=$(printf '%s' "$1" | cut -d ':' -f 1) port=$(printf '%s' "$1" | cut -s -d ':' -f 2) [ "$port" = "" ] && port="6667" -tmux new-window "ii -i $ircdir -s $host -p $port -n $nick -f $fullname" +mkdir -p "$ircdir/$host" +tmux new-window "ii -i $ircdir -s $host -p $port -n $nick -f $fullname | tee -a $ircdir/$host/log" tmux rename-window "ii:$host" hysteria-waitfile "$ircdir/$host/out"