This file contains hidden or 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
| #!/usr/bin/ucode | |
| // require package ucode-mod-fs, ucode-mod-uloop, ucode-mod-socket | |
| import * as fs from 'fs'; | |
| import * as uloop from 'uloop'; | |
| import * as socket from 'socket'; | |
| const CONFIG = { | |
| host: "192.168.1.230", | |
| port: 8125, |
This file contains hidden or 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/bash | |
| # Fallback defaults | |
| DEFAULT_RATE="35mbit" | |
| DEFAULT_BURST="16kb" | |
| DEFAULT_LATENCY="100ms" | |
| # Label Keys | |
| LABEL_ENABLE="dsl.txlimit" | |
| LABEL_RATE="dsl.txrate" |