pull/19/head
aristocratos 2020-03-28 12:05:39 +01:00
parent 65ec0b682f
commit 1e4b43d9ea
4 changed files with 47 additions and 1 deletions

14
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (simplest configuration)",
"program": "${file}"
}
]
}

8
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"bashIde.path": "/usr/local/bin/bash-language-server",
"bashIde.highlightParsingErrors": false,
"shellcheck.enableQuickFix": true,
"Quick open": true,
"Toggle render whitespace": true,
"bracket-pair-colorizer-2.colorMode": "Independent",
}

21
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,21 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "run bash script",
"type": "shell",
"command": "${file}",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"focus": true,
"panel": "dedicated"
}
}
]
}

View File

@ -30,6 +30,7 @@ Main UI with graph on.
Config files stored in "$HOME/.config/spdtest" folder
#### spdtest.cfg: (auto generated if not found)
```bash
net_device="auto" #* Network interface to get current speed from, set to "auto" to get default interface from "ip route" command
unit="megabit" #* Default speed value to use, valid values are "megabit" and "megabyte"
@ -84,6 +85,7 @@ trace_errors="true" #* In event of error print line number of offending command
```
#### route.cfg.sample: (rename to route.cfg to use additional hosts in route test)
```bash
#? List of routes to test with mtr
#? Format:
@ -109,6 +111,7 @@ routelistport["amazon.com"]="auto"
```
#### Command line options: (to be updated)
```
USAGE: ./spdtest.sh [OPTIONS]