projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Drop xinetd support in vsftpd
[mirror/dsa-puppet.git]
/
modules
/
ntp
/
files
/
ntp-restart-if-required
diff --git
a/modules/ntp/files/ntp-restart-if-required
b/modules/ntp/files/ntp-restart-if-required
index
f541c06
..
bb15f84
100755
(executable)
--- a/
modules/ntp/files/ntp-restart-if-required
+++ b/
modules/ntp/files/ntp-restart-if-required
@@
-1,5
+1,7
@@
#!/bin/bash
+PATH=/usr/sbin:/usr/bin:/sbin:/bin
+
[ -e /usr/lib/nagios/plugins/dsa-check-timedatectl ] || exit
/usr/lib/nagios/plugins/dsa-check-timedatectl -s >/dev/null 2>/dev/null