diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2017-11-07 14:30:24 +0100 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2017-11-07 14:32:18 +0100 |
commit | 265c646a5b6f6e8199d7915ae45783a6da143807 (patch) | |
tree | 356f707a64cc4dd793a444154fd1594c18769be5 /build-openwrt.sh | |
parent | a66d5fa3a144602d529d22623ff129486f285f14 (diff) | |
download | chd_openwrt-265c646a5b6f6e8199d7915ae45783a6da143807.zip chd_openwrt-265c646a5b6f6e8199d7915ae45783a6da143807.tar.gz chd_openwrt-265c646a5b6f6e8199d7915ae45783a6da143807.tar.bz2 |
prod: Fix tx_power : allow 18dB max and default to 17. Tested on 740v5 and 841v9.
dev : rework all the presset config from vanilla LEDE 17.01.4. Set LuCI to fr.
Diffstat (limited to 'build-openwrt.sh')
-rwxr-xr-x | build-openwrt.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-openwrt.sh b/build-openwrt.sh index ac2aad4..7a14dc1 100755 --- a/build-openwrt.sh +++ b/build-openwrt.sh @@ -62,8 +62,8 @@ fi wireless_ssid=$6 wireless_key=$7 case $8 in - -1) wireless_disabled=1; wireless_txpower=10 ;; - 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16) wireless_disabled=0; wireless_txpower=$8 ;; + -1) wireless_disabled=1; wireless_txpower=17 ;; + 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18) wireless_disabled=0; wireless_txpower=$8 ;; *) echo "Unknown txpower '$8'"; exit 4 ;; esac |