Fix typo in iperf fw restart patch.

The iperf3 package installs a firewall rule, but the script to restart
the firewall on install had a typo meaning it wasn't called (so the
new firewall setup required a reboot)
This commit is contained in:
Tim Wilkinson 2022-03-14 23:40:20 -07:00 committed by Joe AE6XE
parent 49300073dc
commit 6707867dfd
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ Index: openwrt/package/network/utils/iperf3/Makefile
+ $(INSTALL_BIN) ./files/iperf.firewall $(1)/etc/local/mesh-firewall/20-iperf3
+endef
+
+define Package/iperf/postinst
+define Package/iperf3/postinst
+#!/bin/sh
+# check if we are on real system
+if [ -z "$${IPKG_INSTROOT}" ]; then