Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External 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
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
5501cf6e
Commit
5501cf6e
authored
15 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
hostapd: automatically add wds sta interfaces of an ap to the right bridge
SVN-Revision: 18365
parent
36eccaad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package/hostapd/Makefile
+2
-0
2 additions, 0 deletions
package/hostapd/Makefile
package/hostapd/files/hostapd.hotplug
+12
-0
12 additions, 0 deletions
package/hostapd/files/hostapd.hotplug
with
14 additions
and
0 deletions
package/hostapd/Makefile
+
2
−
0
View file @
5501cf6e
...
...
@@ -109,6 +109,8 @@ define Build/Compile
endef
define
Package/InstallTemplate
$(INSTALL_DIR)
$(1)/etc/hotplug.d/net
$(INSTALL_DATA)
./files/hostapd.hotplug
$(1)/etc/hotplug.d/net/
$(INSTALL_DIR)
$(1)/lib/wifi
$(INSTALL_DATA)
./files/hostapd.sh
$(1)/lib/wifi/hostapd.sh
$(INSTALL_DIR)
$(1)/usr/sbin
...
...
This diff is collapsed.
Click to expand it.
package/hostapd/files/hostapd.hotplug
0 → 100644
+
12
−
0
View file @
5501cf6e
if [ "$ACTION" = "add" -o "$ACTION" = "register" ]; then
case "$INTERFACE" in
wlan*.sta*)
local BASEIF="${INTERFACE%%\.*}"
include /lib/network
scan_interfaces
local CONFIG="$(find_config "$BASEIF")"
[ -n "$CONFIG" ] && setup_interface "$INTERFACE" "$CONFIG"
;;
esac
fi
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