Configurable wifi channel
This commit is contained in:
parent
30748242d7
commit
1573e38959
|
@ -475,6 +475,14 @@ case $key in
|
|||
-h|--help)
|
||||
show_help
|
||||
;;
|
||||
--essid)
|
||||
shift
|
||||
ESSID="$1"
|
||||
;;
|
||||
--channel)
|
||||
shift
|
||||
WIFI_CHANNEL=${1}
|
||||
;;
|
||||
*)
|
||||
# unknown option
|
||||
;;
|
||||
|
|
|
@ -591,7 +591,7 @@ function interactive_configuration {
|
|||
#fi
|
||||
|
||||
if [[ $SYSTEM_TYPE == "$VARIANT_MESH_USER" ]]; then
|
||||
freedombone-client
|
||||
freedombone-client --essid $ESSID
|
||||
if [ "$?" = "0" ]; then
|
||||
clear
|
||||
echo ".---. . . "
|
||||
|
|
Loading…
Reference in New Issue