diff options
author | James Crayne <jim.crayne@gmail.com> | 2019-09-28 13:43:29 -0400 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2020-01-01 19:27:53 -0500 |
commit | 11987749fc6e6d3e53ea737d46d5ab13a16faeb8 (patch) | |
tree | 5716463275c2d3e902889db619908ded2a73971c /vnet/screen-shell.sh | |
parent | add2c76bced51fde5e9917e7449ef52be70faf87 (diff) |
Factor out some new libraries
word64-map:
Data.Word64Map
network-addr:
Network.Address
tox-crypto:
Crypto.Tox
lifted-concurrent:
Control.Concurrent.Lifted.Instrument
Control.Concurrent.Async.Lifted.Instrument
psq-wrap:
Data.Wrapper.PSQInt
Data.Wrapper.PSQ
minmax-psq:
Data.MinMaxPSQ
tasks:
Control.Concurrent.Tasks
kad:
Network.Kademlia
Network.Kademlia.Bootstrap
Network.Kademlia.Routing
Network.Kademlia.CommonAPI
Network.Kademlia.Persistence
Network.Kademlia.Search
Diffstat (limited to 'vnet/screen-shell.sh')
-rwxr-xr-x | vnet/screen-shell.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/vnet/screen-shell.sh b/vnet/screen-shell.sh deleted file mode 100755 index fa420b9d..00000000 --- a/vnet/screen-shell.sh +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | ifaddr() { | ||
3 | ip -o address show dev $1 | sed -n 's#.* inet \([^ /]*\).*#\1#p' | ||
4 | } | ||
5 | touch window-count | ||
6 | count=$(cat window-count) | ||
7 | count=${count:-(-1)} | ||
8 | count=$(( $count + 1 )) | ||
9 | echo $count > window-count | ||
10 | digit=$(printf '%X' $count) | ||
11 | cd ep$digit | ||
12 | port=$(( 33400 + $count )) | ||
13 | pwd | ||
14 | ../dhtd tox=$(ifaddr ep$digit):$port,bt=,xmpp= | ||