summaryrefslogtreecommitdiff
path: root/openwrt/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
commit9178fa58314614097cdb8e1804bec06ef7e0b017 (patch)
treece7067e2b02d76d14b7cbd987cd56fca36feb9f4 /openwrt/package/kismet/Makefile
parenta326afc8d892a824cfd29a595aefc6fdb2bd63c6 (diff)
add default configs for kismet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@723 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/kismet/Makefile')
-rw-r--r--openwrt/package/kismet/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/openwrt/package/kismet/Makefile b/openwrt/package/kismet/Makefile
index 20b7fed200..23d9eb3452 100644
--- a/openwrt/package/kismet/Makefile
+++ b/openwrt/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/*