parent
ce4b53ff54
commit
7b9809d118
@ -0,0 +1,20 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
|
||||
source library/sh_lib.sh
|
||||
|
||||
check=0
|
||||
|
||||
_GREP_PATTERN="server ntp.msk-ix.ru iburst
|
||||
server ntp1.vniiftri.ru iburst
|
||||
server vniiftri2.khv.ru iburst
|
||||
server ntp1.niiftri.irkutsk.ru iburst
|
||||
server ntp.sstf.nsk.ru iburst
|
||||
server ntp2.vniiftri.ru iburst
|
||||
server ntp3.vniiftri.ru iburst
|
||||
server ntp4.vniiftri.ru iburst"
|
||||
|
||||
cat /etc/chrony.conf | grep "${_GREP_PATTERN}"
|
||||
check=$(eq_is_success ${check} 0)
|
||||
|
||||
exit 0
|
Loading…
Reference in new issue