You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
409 B
21 lines
409 B
8 months ago
|
#!/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
|