summaryrefslogtreecommitdiff
path: root/package/wprobe/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-29 05:01:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-29 05:01:25 +0000
commitc614ca2b92b1d2d2a5533855d7bed6ddff2145dd (patch)
treef7bf3f216d41f435eb535a1dcfcb523566af486a /package/wprobe/Makefile
parent43eef5c7ea397bd78da7a525da72587c5eb73fa0 (diff)
downloadmtk-20170518-c614ca2b92b1d2d2a5533855d7bed6ddff2145dd.zip
mtk-20170518-c614ca2b92b1d2d2a5533855d7bed6ddff2145dd.tar.gz
mtk-20170518-c614ca2b92b1d2d2a5533855d7bed6ddff2145dd.tar.bz2
wprobe: add init script for exporter
SVN-Revision: 15066
Diffstat (limited to 'package/wprobe/Makefile')
-rw-r--r--package/wprobe/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/wprobe/Makefile b/package/wprobe/Makefile
index 89f0450..7fccaa2 100644
--- a/package/wprobe/Makefile
+++ b/package/wprobe/Makefile
@@ -103,7 +103,8 @@ define Package/wprobe-info/install
endef
define Package/wprobe-export/install
- $(INSTALL_DIR) $(1)/sbin
+ $(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/wprobe.init $(1)/etc/init.d/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/exporter/wprobe-export $(1)/sbin/
endef