diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-08-03 14:04:03 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2006-08-03 14:04:03 +0000 |
commit | cf7ce7768f6e5a86bcf4b2249e8c0e346ba8be8d (patch) | |
tree | 79148f7ea693c2736a11dcf6008b9515e7d518ac /zshrc | |
parent | 4fe83a24ab55d6f53261cd24b9ee2b50f1a2119d (diff) |
Fix testnet port handling
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@168 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -223,14 +223,14 @@ if [ "$HOSTNAME" = 'asteria' ] && [ -x /usr/bin/sudo ] ; then if [ -e "$HOME/.oftc-testnet-port" ]; then oftcircport="--port=`cat $HOME/.oftc-testnet-port`" else - oftcircport="" + oftcircport="--port=16667" fi ( sudo cat /home/oftc/testnet-hybrid/etc/ircd.conf | $HOME/bin/list-servers echo "neutron 86.59.21.34" ) | while read name ip; do alias -g $name-testnet-ip="$ip" - alias irssi-testnet-$name="irssi --home=$HOME/.irssi-$name --connect=$ip --port=16667 --nick=weasel-$name $oftcircport" + alias irssi-testnet-$name="irssi --home=$HOME/.irssi-$name --connect=$ip --nick=weasel-$name $oftcircport" done fi |