summaryrefslogtreecommitdiffstats
path: root/package/kismet/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-26 09:45:46 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-26 09:45:46 +0000
commita2a57dfce7be54636a817fb6b5f929f4a8383c45 (patch)
tree2e213f33bf9c13e2e1c82b1bb0bd825da4ccfb33 /package/kismet/Makefile
parent7805b1a13f83da413fb46a8bf26d067b3959a148 (diff)
add default configs for kismet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@723 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kismet/Makefile')
-rw-r--r--package/kismet/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/kismet/Makefile b/package/kismet/Makefile
index 20b7fed20..23d9eb345 100644
--- a/package/kismet/Makefile
+++ b/package/kismet/Makefile
@@ -94,6 +94,9 @@ $(PKG_BUILD_DIR)/kismet_server $(PKG_BUILD_DIR)/kismet_drone $(PKG_BUILD_DIR)/ki
$(IPKG_SERVER): $(PKG_BUILD_DIR)/kismet_server
$(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_SERVER) kismet-server.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
+ mkdir -p $(IDIR_SERVER)/etc
+ cp ./files/kismet.conf $(IDIR_SERVER)/etc/
+ echo '/etc/kismet.conf' > $(IDIR_SERVER)/CONTROL/conffiles
mkdir -p $(IDIR_SERVER)/usr/sbin
cp $< $(IDIR_SERVER)/usr/sbin/
$(STRIP) $(IDIR_SERVER)/usr/sbin/*
@@ -105,6 +108,9 @@ $(INFO_SERVER): $(IPKG_SERVER)
$(IPKG_DRONE): $(PKG_BUILD_DIR)/kismet_drone
$(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_DRONE) kismet-drone.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
+ mkdir -p $(IDIR_DRONE)/etc
+ cp ./files/kismet_drone.conf $(IDIR_DRONE)/etc/
+ echo '/etc/kismet_drone.conf' > $(IDIR_DRONE)/CONTROL/conffiles
mkdir -p $(IDIR_DRONE)/usr/sbin
cp $< $(IDIR_DRONE)/usr/sbin/
$(STRIP) $(IDIR_DRONE)/usr/sbin/*
@@ -116,6 +122,9 @@ $(INFO_DRONE): $(IPKG_DRONE)
$(IPKG_CLIENT): $(PKG_BUILD_DIR)/kismet_client
$(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_CLIENT) kismet-client.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
+ mkdir -p $(IDIR_CLIENT)/etc
+ cp ./files/kismet.conf $(IDIR_CLIENT)/etc/
+ echo '/etc/kismet.conf' > $(IDIR_CLIENT)/CONTROL/conffiles
mkdir -p $(IDIR_CLIENT)/usr/sbin
cp $< $(IDIR_CLIENT)/usr/sbin/
$(STRIP) $(IDIR_CLIENT)/usr/sbin/*