Configurable wifi channel

This commit is contained in:
Bob Mottram 2015-09-05 11:05:57 +01:00
parent 30748242d7
commit 1573e38959
2 changed files with 9 additions and 1 deletions

View File

@ -475,6 +475,14 @@ case $key in
-h|--help) -h|--help)
show_help show_help
;; ;;
--essid)
shift
ESSID="$1"
;;
--channel)
shift
WIFI_CHANNEL=${1}
;;
*) *)
# unknown option # unknown option
;; ;;

View File

@ -591,7 +591,7 @@ function interactive_configuration {
#fi #fi
if [[ $SYSTEM_TYPE == "$VARIANT_MESH_USER" ]]; then if [[ $SYSTEM_TYPE == "$VARIANT_MESH_USER" ]]; then
freedombone-client freedombone-client --essid $ESSID
if [ "$?" = "0" ]; then if [ "$?" = "0" ]; then
clear clear
echo ".---. . . " echo ".---. . . "