summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-18 12:40:27 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-18 12:40:27 +0000
commitc352f2f98116127f5273363c1f3770427f632646 (patch)
tree7279de5aba3f16cf34a4927c84d21ad10ee4738b
parent412c2b048f84147ebfa1c3ae533fd16b2ea8f978 (diff)
move hostapd setup script from wireless-tools to hostapd package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7000 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/hostapd/Makefile2
-rw-r--r--package/hostapd/files/hostapd.sh (renamed from package/wireless-tools/files/wifi.sh)0
-rw-r--r--package/wireless-tools/Makefile2
3 files changed, 2 insertions, 2 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index b77873c3c..e500b87bd 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -81,6 +81,8 @@ define Package/InstallTemplate
rm -f $(PKG_BUILD_DIR)/.built; \
$(MAKE) $(PKG_BUILD_DIR)/.built; \
fi
+ $(INSTALL_DIR) $$(1)/lib/wifi
+ $(INSTALL_DATA) ./files/hostapd.sh $$(1)/lib/wifi/hostapd.sh
$(INSTALL_DIR) $$(1)/etc
$(INSTALL_CONF) $(PKG_BUILD_DIR)_$(2)/madwifi.conf $$(1)/etc/hostapd.conf
$(INSTALL_DIR) $$(1)/usr/sbin
diff --git a/package/wireless-tools/files/wifi.sh b/package/hostapd/files/hostapd.sh
index 529462e6c..529462e6c 100644
--- a/package/wireless-tools/files/wifi.sh
+++ b/package/hostapd/files/hostapd.sh
diff --git a/package/wireless-tools/Makefile b/package/wireless-tools/Makefile
index 0f790aa52..476efec0f 100644
--- a/package/wireless-tools/Makefile
+++ b/package/wireless-tools/Makefile
@@ -59,8 +59,6 @@ define Build/UninstallDev
endef
define Package/wireless-tools/install
- $(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