summaryrefslogtreecommitdiffstats
path: root/debian/chrony.ppp.ip-up
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:35:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:35:04 +0000
commit214f81cd9b7c94c10b633627034c21daaee837b2 (patch)
tree63f193ca9b27d4095af5ac000565ef928ddbb5f6 /debian/chrony.ppp.ip-up
parentAdding upstream version 4.0. (diff)
downloadchrony-214f81cd9b7c94c10b633627034c21daaee837b2.tar.xz
chrony-214f81cd9b7c94c10b633627034c21daaee837b2.zip
Adding debian version 4.0-8+deb11u2.debian/4.0-8+deb11u2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/chrony.ppp.ip-up')
-rw-r--r--debian/chrony.ppp.ip-up12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/chrony.ppp.ip-up b/debian/chrony.ppp.ip-up
new file mode 100644
index 0000000..9c8d089
--- /dev/null
+++ b/debian/chrony.ppp.ip-up
@@ -0,0 +1,12 @@
+#!/bin/sh
+# This script tells chronyd that the connection is up so that it can
+# contact the server. John Hasler <jhasler@debian.org> 1998-2003
+# Any possessor of a copy of this program may treat it as if it
+# were in the public domain. I waive all rights.
+# Modified by Vincent Blut <vincent.debian@free.fr>
+
+if [ -e /run/chrony/chronyd.pid ]; then
+ chronyc onoffline > /dev/null 2>&1
+fi
+
+exit 0