summaryrefslogtreecommitdiffstats
path: root/debian/chrony.ppp.ip-down
blob: da15be406da3bd27eca39c750375f542f86963ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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/chronyd.pid ]; then
    chronyc onoffline > /dev/null 2>&1
fi

exit 0