mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-28 19:25:25 -07:00
16 lines
370 B
Bash
16 lines
370 B
Bash
|
#!/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
|