From 243179f9f60d30de287e3c77931b15a82de3b536 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 11 Nov 2013 12:19:10 +0000 Subject: base-files: add a generic wps button handler Signed-off-by: John Crispin SVN-Revision: 38726 --- package/base-files/files/etc/rc.button/wps | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 package/base-files/files/etc/rc.button/wps (limited to 'package/base-files/files/etc') diff --git a/package/base-files/files/etc/rc.button/wps b/package/base-files/files/etc/rc.button/wps new file mode 100755 index 0000000000..c913d5bab3 --- /dev/null +++ b/package/base-files/files/etc/rc.button/wps @@ -0,0 +1,6 @@ +#!/bin/sh + +for dir in /var/run/hostapd-*; do + [ -d "$dir" ] || continue + hostapd_cli -p "$dir" wps_pbc +done -- cgit v1.2.3