Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
map-agent
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Multi-AP
map-agent
Commits
dfed203f
Commit
dfed203f
authored
2 months ago
by
Jakob Olsson
Browse files
Options
Downloads
Patches
Plain Diff
script: multiap: minor cleanup
parent
999808ad
Branches
wpa-supp-conf-fix
No related tags found
1 merge request
!711
Wpa supp conf fix
Pipeline
#199559
passed
2 months ago
Stage: static_code_analysis
Stage: compile_test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/script/multiap
+2
-17
2 additions, 17 deletions
src/script/multiap
with
2 additions
and
17 deletions
src/script/multiap
+
2
−
17
View file @
dfed203f
...
...
@@ -899,7 +899,6 @@ bsta_to_wireless() {
else
wpa_cli
-i
"
$bsta
"
disconnect
>
/dev/null 2>&1
wpa_cli
-i
"
$bsta
"
disable_network
$network_id
>
/dev/null 2>&1
echo
1
fi
wpa_cli
-i
"
$bsta
"
save_config
>
/dev/null 2>&1
}
...
...
@@ -950,23 +949,9 @@ bsta_to_wireless() {
fi
}
# best=$(mapagent_find_lowest_prio_onboarded)
#
# [ -z "$best" ] && return
#
# band=$1
# sec=""
# prio=""
#
# config_foreach mapagent_enable_best bsta $best
# uci commit mapagent
config_load mapagent
diff
=
$(
config_foreach mapagent_bsta_to_wireless bsta
)
# [ "$diff" != "" ] && {
uci commit wireless
# }
config_foreach mapagent_bsta_to_wireless bsta
uci commit wireless
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment