move hostapd setup function to wireless-tools package, as it is driver independent
[openwrt/svn-archive/archive.git] / package / wireless-tools / Makefile
index f07a406..6c51126 100644 (file)
@@ -61,7 +61,9 @@ define Build/UninstallDev
 endef
 
 define Package/wireless-tools/install
-       $(INSTALL_DIR)  $(1)/usr/lib
+       $(INSTALL_DIR) $(1)/lib/wifi
+       $(INSTALL_DATA)  ./files/wifi.sh $(1)/lib/wifi/generic.sh
+       $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/libiw.so.28 $(1)/usr/lib/
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iw{config,getid,list,priv,spy} $(1)/usr/sbin/