Created
April 17, 2021 13:11
-
-
Save 0x616d616e/11a89d49281947d475c88c4563fe0a5e to your computer and use it in GitHub Desktop.
OpenWRT iperf3 service (/etc/init.d/iperf3)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh /etc/rc.common | |
# Example script | |
# Copyright (C) 2007 OpenWrt.org | |
START=10 | |
STOP=15 | |
start() { | |
iperf3 -s -D | |
} | |
stop() { | |
kill $(pidof iperf3) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment