mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-25 01:35:24 -07:00
Kaj Forney
4fdc60b6a2
Former-commit-id: 9f5a64d372
Former-commit-id: 89d8a1302bd2a72239fbe9ad9820be4ecda76cab
15 lines
370 B
Bash
Executable file
15 lines
370 B
Bash
Executable file
#!/bin/bash -
|
|
|
|
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
source "$CURRENT_DIR/helpers.sh"
|
|
|
|
main()
|
|
{
|
|
local download=$("$CURRENT_DIR/download_speed.sh")
|
|
local upload=$("$CURRENT_DIR/upload_speed.sh")
|
|
|
|
## Format output
|
|
local format=$(get_tmux_option @net_speed_format "D:%10s U:%10s")
|
|
printf "$format" "$download" "$upload"
|
|
}
|
|
main
|