mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
ntpd: cleanup Makefile and hotplug script
Signed-off-by: Peter Wagner <tripolar@gmx.at>
This commit is contained in:
committed by
Jo-Philipp Wich
parent
84c6db24fc
commit
06525f0d3b
@@ -1,10 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
HOTPLUG_SCRIPT=/usr/sbin/ntpd-hotplug
|
||||
|
||||
while true
|
||||
do
|
||||
STATUS="$(ntpq -c 'rv 0 stratum'|awk -F '=' '{ print $2 }')"
|
||||
STATUS="$(/usr/sbin/ntpq -c 'rv 0 stratum'|awk -F '=' '{ print $2 }')"
|
||||
|
||||
if [ -n "$STATUS" ] && [ "$STATUS" -lt "16" ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user