Reorganize repository structure and refresh READMEs

This commit is contained in:
WickedYoda committed 2026-04-08 14:57:07 -05:00
1 parent 2270530d9e
commit a8b7ccbf2a
170 files changed
+616 -1391

No files matched your search

@@ -0,0 +1,36 @@
#!/bin/sh
echo "[+] Updating package list..."
opkg update
echo "[+] Installing iperf3..."
opkg install iperf3
echo "[+] Creating init script..."
cat << 'EOF' > /etc/init.d/iperf3-server
#!/bin/sh /etc/rc.common
# Custom init script to run iperf3 server on boot
START=99
start() {
logger -t iperf3 "Starting iperf3 server on boot"
iperf3 -s -D
}
stop() {
logger -t iperf3 "Stopping iperf3 server"
killall iperf3
}
EOF
echo "[+] Making script executable..."
chmod +x /etc/init.d/iperf3-server
echo "[+] Enabling iperf3 to start at boot..."
/etc/init.d/iperf3-server enable
echo "[+] Starting iperf3 server now..."
/etc/init.d/iperf3-server start
echo "[✓] iperf3 is now running and will auto-start on boot."