Skip to content

Instantly share code, notes, and snippets.

@0x616d616e
Created April 17, 2021 13:11
Show Gist options
  • Save 0x616d616e/11a89d49281947d475c88c4563fe0a5e to your computer and use it in GitHub Desktop.
Save 0x616d616e/11a89d49281947d475c88c4563fe0a5e to your computer and use it in GitHub Desktop.
OpenWRT iperf3 service (/etc/init.d/iperf3)
#!/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