wifiqr.bash: enable highest error correction
This commit is contained in:
parent
9286ebbdd6
commit
838255fbac
|
@ -2,10 +2,12 @@
|
|||
|
||||
# Arguments: SSID and WPA2 (3 untested) passphrase
|
||||
|
||||
# -l H uses the highest error correction in case 30 % gets damaged (or artistried upon)
|
||||
|
||||
# Outputs QR code to terminal
|
||||
qrencode -t utf8 "WIFI:T:WPA;S:$1;P:$2;;"
|
||||
qrencode -l H -t utf8 "WIFI:T:WPA;S:$1;P:$2;;"
|
||||
# Stores QR code as SSID.png, -s doubles pixel size from default 3
|
||||
qrencode -s 6 -o $1.png "WIFI:T:WPA;S:$1;P:$2;;"
|
||||
qrencode -l H -s 6 -o $1.png "WIFI:T:WPA;S:$1;P:$2;;"
|
||||
|
||||
# Prints details
|
||||
echo "SSID: $1"
|
||||
|
|
Loading…
Reference in New Issue