This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# v0.1 Avinash H. Duduskar <strykar@live.com> | |
# This adjusts OpenWRT SQM settings by re-calculating up/down bandwidth | |
# Needs the Speedtest.net CLI binary - https://www.speedtest.net/apps/cli | |
# Call this script every 4 or 6 hours via cron | |
set -euf -o pipefail | |
_sqm_int="queue" # Your actual wan interface: ifstatus wan | grep -e l3_device | |
_pul="90" # Percentage of wan upload speed to set, 90-95 is good | |
_pdl="95" # Percentage of wan download speed to set, 90-95 is good |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Profiles": [ | |
{ | |
"Thin Strokes": 0, | |
"Working Directory": "\/", | |
"Prompt Before Closing 2": false, | |
"Selected Text Color": { | |
"Green Component": 0, | |
"Blue Component": 0, | |
"Red Component": 0 |