inf-285 #9

Merged
pnegrobov merged 2 commits from inf-285 into master 8 months ago

@ -0,0 +1,5 @@
#!/bin/bash
echo "Подготовка окружения для тестирования пакета ${TEST_PACKAGE_NAME}"
exit 0

@ -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…
Cancel
Save