Starts iperf in server mode as a daemon, with IPv4 + IPv6 support enabled (-V)
Signed-off-by: Gui Iribarren <g...@altermundi.net> Index: net/iperf/files/iperf =================================================================== --- net/iperf/files/iperf (revision 0) +++ net/iperf/files/iperf (revision 0) @@ -0,0 +1,12 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006-2012 OpenWrt.org + +START=98 + +start () { + service_start /usr/bin/iperf -s -D -V +} + +stop() { + killall iperf +} Property changes on: net/iperf/files/iperf ___________________________________________________________________ Added: svn:executable + * Index: net/iperf/Makefile =================================================================== --- net/iperf/Makefile (revision 32789) +++ net/iperf/Makefile (working copy) @@ -9,7 +9,7 @@ PKG_NAME:=iperf PKG_VERSION:=2.0.5 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -77,6 +77,8 @@ define Package/iperf/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/iperf $(1)/usr/bin/iperf + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/iperf $(1)/etc/init.d/iperf endef Package/iperf-mt/install = $(Package/iperf/install) _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel