You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
416 B
Plaintext
14 lines
416 B
Plaintext
2 years ago
|
#!/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
|