summaryrefslogtreecommitdiffstats
path: root/debian/iperf3.config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:27:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:27:01 +0000
commit503d04a2bfde679988acc541f9ea5d24d88c9aad (patch)
tree676fa08fe502e338be2d9741ad909d08ff7f79ed /debian/iperf3.config
parentMerging upstream version 3.17.1. (diff)
downloadiperf3-503d04a2bfde679988acc541f9ea5d24d88c9aad.tar.xz
iperf3-503d04a2bfde679988acc541f9ea5d24d88c9aad.zip
Merging debian version 3.17.1-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/iperf3.config')
-rwxr-xr-xdebian/iperf3.config7
1 files changed, 5 insertions, 2 deletions
diff --git a/debian/iperf3.config b/debian/iperf3.config
index 17f62c2..3673940 100755
--- a/debian/iperf3.config
+++ b/debian/iperf3.config
@@ -35,8 +35,10 @@ else
db_set iperf3/start_daemon false
fi
-db_input high iperf3/start_daemon || true
-db_go
+if [ "$TERM" ]; then
+ db_input high iperf3/start_daemon || true
+ db_go || true
+fi
# fetch data from debconf if any
db_get iperf3/start_daemon
@@ -59,5 +61,6 @@ else
invoke-rc.d iperf3 stop || true
fi
fi
+db_stop || true
exit 0