]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wifi-scripts: add modular wps button handler scripts
authorFelix Fietkau <nbd@nbd.name>
Fri, 8 Aug 2025 16:18:49 +0000 (18:18 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 8 Aug 2025 16:53:30 +0000 (18:53 +0200)
commit3aee42001f493952b72a2ef3cd458bf9417c8940
tree75631289e7b738c9fdf41d3d52f5bb5f1791480e
parent8eea85584633d6cf70c8a043629e09b1781d90f5
wifi-scripts: add modular wps button handler scripts

Execute scripts in /etc/rc.wps until one of them returns a exit code of 0.
Split up sta and ap handling of wps into separate scripts.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/config/wifi-scripts/files/etc/rc.button/wps [new file with mode: 0755]
package/network/config/wifi-scripts/files/etc/rc.wps/40-wps_ap [new file with mode: 0755]
package/network/config/wifi-scripts/files/etc/rc.wps/50-wps_sta [moved from package/network/services/hostapd/files/wps-hotplug.sh with 52% similarity, mode: 0755]
package/network/services/hostapd/Makefile