icb-irc-tunnel: remove tmux / weechat startup
This commit is contained in:
parent
18805bfea6
commit
01c55a3c2d
@ -7,12 +7,6 @@
|
|||||||
${icbirc}/bin/icbirc -l 127.0.0.1 -s localhost -p 6644
|
${icbirc}/bin/icbirc -l 127.0.0.1 -s localhost -p 6644
|
||||||
${icbirc}/bin/icbirc -l 127.0.0.1 -s localhost -p 6645
|
${icbirc}/bin/icbirc -l 127.0.0.1 -s localhost -p 6645
|
||||||
|
|
||||||
tname="IRC"
|
|
||||||
if !${pkgs.tmux}/bin/tmux ls | grep -q "^''${tname}:"; then
|
|
||||||
${pkgs.tmux}/bin/tmux -2 new-session -d -s "''${tname}" 'weechat'
|
|
||||||
${pkgs.tmux}/bin/tmux -s "''${tname}" splitw -dv -b -h -l 30% 'ssh anonicb@slackers.openbsd.org'
|
|
||||||
fi
|
|
||||||
|
|
||||||
${pkgs.openssh}/bin/ssh -NTL 7326:localhost:7326 \
|
${pkgs.openssh}/bin/ssh -NTL 7326:localhost:7326 \
|
||||||
-oServerAliveInterval=60 \
|
-oServerAliveInterval=60 \
|
||||||
-oExitOnForwardFailure=yes \
|
-oExitOnForwardFailure=yes \
|
||||||
|
Loading…
Reference in New Issue
Block a user