ruby: bump version to 2.4.1
[buildroot-gz.git] / package / chrony / S49chrony
blob6215acc4aa217ddbc0099ad30d8e97eae5536ce4
1 #!/bin/sh
3 # Start chrony
5 [ -f /etc/chrony.conf ] || exit 0
7 case "$1" in
8 start)
9 printf "Starting chrony: "
10 chronyd && echo "OK" || echo "FAIL"
12 stop)
13 printf "Stopping chrony: "
14 killall chronyd && echo "OK" || echo "FAIL"
16 restart|reload)
17 "$0" stop
18 sleep 1
19 "$0" start
22 echo "Usage: $0 {start|stop|restart}"
23 exit 1
24 esac
26 exit $?