You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
321 B
10 lines
321 B
#! /usr/bin/env bash
|
|
|
|
# TODO
|
|
# warn that packet loss is increasing at a speciied rate
|
|
# base interval e.g. 120sec
|
|
# if a downward trend is detected, increase the interval
|
|
# if the situation improves throttle back
|
|
|
|
CON=`nmcli con list | grep wireless | sed "s/ .*//"`
|
|
nmcli con down id $CON && nmcli con up id $CON
|
|
|