Fixed some docs, made the bridge use less CPU time

This commit is contained in:
Izaya 2018-04-16 10:13:40 +10:00
parent 25e0f08c87
commit 318b9c6857
2 changed files with 4 additions and 8 deletions

View File

@ -49,11 +49,7 @@ This will create a virtual linked card component connected to server\_address:se
#### Minitel configuration
1. Disable minitel with rc - `rc minitel disable`
1. Enable vtunnel with rc - `rc vtunnel enable`
2. Add the following to your ~/.shrc:
2. Enable vtunnel with rc - `rc vtunnel enable`
3. Enable minitel with rc - `rc minitel enable`
```
rc minitel start > /dev/null
```
This will ensure that Minitel sees the virtual tunnel component created by vTunnel and routes packets via it.
This will ensure that Minitel starts later than vTunnel, allowing it to see the virtual tunnel component.

View File

@ -42,7 +42,7 @@ hasValidPacket("")
function socketLoop()
local server = socket.bind("*", port)
server:settimeout(0)
server:settimeout(0.01)
print("vTunnel bridge server listening on port "..tostring(port))
while true do
local client,err = server:accept()