OpenMediaVault-Plugin-Developers / installScript

script that installs omv-extras and openmediavault if not installed already.
1.1k stars 207 forks source link

WLAN charset #29

Closed TorstenVo closed 2 years ago

TorstenVo commented 4 years ago

Hi. The Installation Script fails because of Backslash usage in SSID and also in Password. The SSID is: /)\o/ ans the password also contains several backslashes. The script erors are te following: jq: error: Invalid escape at line 1, column 4 (while parsing '"\o"') at , line 1: {uuid: "fa4b1c66-ef79-11e5-87a0-0002b3a176b4", devicename: "wlan0", type: "wifi" , method: "dhcp", method6: "dhcp", wpassid: "__/)\o/", wpapsk: "Aa&AV( uF\$&Ae%#3$9YU%3Ot9f{2m\Q5[]kr%jqIBE\w:."}
jq: error: Invalid escape at line 1, column 4 (while parsing '"\$"') at , line 1: {uuid: "fa4b1c66-ef79-11e5-87a0-0002b3a176b4", devicename: "wlan0", type: "wifi" , method: "dhcp", method6: "dhcp", wpassid: "/)\o/____", wpapsk: "Aa&AV( uF\$&
Ae%#3$9YU%3Ot9f{2m\Q5[]kr%jqIBE\w:."}
... Wireless worked before installing OMV. Best regads Torsten

ryecoaaron commented 4 years ago

Backslashes are always hard to deal with because they are used to escape characters. I will look to see if there is an easy fix but I'm not going to put a ton of time into this because you can always setup wireless after installing OMV.

TorstenVo commented 4 years ago

Hi Aaron, sound good - let me know if I can support or assist.