summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog6
-rw-r--r--debian/changelog6
-rw-r--r--ipif/udptunnel-vpn-defaults5
3 files changed, 17 insertions, 0 deletions
diff --git a/changelog b/changelog
index 5af6314..342861d 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,9 @@
+userv-utils (0.2.2) unstable; urgency=low
+
+ * udptunnel-reconf default script pauses for 10s between restarts.
+
+ --
+
userv-utils (0.2.1) unstable; urgency=low
* New udptunnel-reconf program for generating invoke scripts, inittab
diff --git a/debian/changelog b/debian/changelog
index 5af6314..342861d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+userv-utils (0.2.2) unstable; urgency=low
+
+ * udptunnel-reconf default script pauses for 10s between restarts.
+
+ --
+
userv-utils (0.2.1) unstable; urgency=low
* New udptunnel-reconf program for generating invoke scripts, inittab
diff --git a/ipif/udptunnel-vpn-defaults b/ipif/udptunnel-vpn-defaults
index add96da..39f96a8 100644
--- a/ipif/udptunnel-vpn-defaults
+++ b/ipif/udptunnel-vpn-defaults
@@ -29,6 +29,7 @@ m4_dnl lend -- usually set in global
m4_dnl rend -- usually set in sites
SET( mtu, [1000])
SET( proto, [cslip])
+SET( to_restart, [10])
SET( to_poll, [30])
SET( to_quit, [130])
SET( to_report, [1800])
@@ -82,9 +83,13 @@ SET( invoke_body,
[set -e
V_invoke_hook
echo "STARTING TUNNEL `date`" >&2
+set +e
V_command
rc=$?
+set -e
echo "TUNNEL CLOSED rc=$rc" >&2
+sleep V_to_restart
+echo "TUNNEL MAYRESTART" >&2
exit $rc
])