diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 12:48:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 12:48:03 +0000 |
commit | 6d46de912288f0875f0e3cca27b8d7455fa07b42 (patch) | |
tree | b2ee235051d590490c0fdccbf0241b3706e292e7 /debian/chrony.ppp.ip-down | |
parent | Adding upstream version 4.5. (diff) | |
download | chrony-6d46de912288f0875f0e3cca27b8d7455fa07b42.tar.xz chrony-6d46de912288f0875f0e3cca27b8d7455fa07b42.zip |
Adding debian version 4.5-1.debian/4.5-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/chrony.ppp.ip-down')
-rw-r--r-- | debian/chrony.ppp.ip-down | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/chrony.ppp.ip-down b/debian/chrony.ppp.ip-down new file mode 100644 index 0000000..c077551 --- /dev/null +++ b/debian/chrony.ppp.ip-down @@ -0,0 +1,13 @@ +#!/bin/sh +# This script tells chronyd that the connection is down +# so that it won't try to 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 |