Browse Source

Configurable wifi channel

Bob Mottram 9 years ago
parent
commit
1573e38959
2 changed files with 9 additions and 1 deletions
  1. 8
    0
      src/freedombone-client
  2. 1
    1
      src/freedombone-config

+ 8
- 0
src/freedombone-client View File

@@ -475,6 +475,14 @@ case $key in
475 475
     -h|--help)
476 476
     show_help
477 477
     ;;
478
+    --essid)
479
+    shift
480
+    ESSID="$1"
481
+    ;;
482
+    --channel)
483
+    shift
484
+    WIFI_CHANNEL=${1}
485
+    ;;
478 486
     *)
479 487
     # unknown option
480 488
     ;;

+ 1
- 1
src/freedombone-config View File

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