Changeset 36004


Ignore:
Timestamp:
2013-03-13T19:11:25+01:00 (5 years ago)
Author:
blogic
Message:

[hostapd] use new button scheme

Signed-off-by: John Crispin <blogic@…>

Location:
trunk/package/network/services/hostapd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/services/hostapd/Makefile

    r35893 r36004  
    304304        $(INSTALL_BIN) $(PKG_BUILD_DIR)/hostapd/hostapd_cli $(1)/usr/sbin/ 
    305305        $(INSTALL_DATA) ./files/wps-hotplug.sh $(1)/etc/hotplug.d/button/50-wps 
     306        $(if $(CONFIG_PROCD_INIT), 
     307                $(INSTALL_DIR) $(1)/etc/rc.button/ 
     308                $(INSTALL_BIN) ./files/wps-hotplug.sh $(1)/etc/rc.button/wps, 
     309                $(INSTALL_DATA) ./files/wps-hotplug.sh $(1)/etc/hotplug.d/button/50-wps 
     310        ) 
    306311  endef 
    307312endif 
  • trunk/package/network/services/hostapd/files/wps-hotplug.sh

    r22100 r36004  
     1#!/bin/sh 
     2 
    13if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then 
    24        for dir in /var/run/hostapd-*; do 
Note: See TracChangeset for help on using the changeset viewer.