소스 검색

server becomes pool

Bob Mottram 7 년 전
부모
커밋
f12dbcce87
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      tests/check-ntp-sources.sh

+ 1
- 1
tests/check-ntp-sources.sh 파일 보기

@@ -1,7 +1,7 @@
1 1
 #!/bin/bash
2 2
 
3 3
 if [ -f /etc/ntp.conf ];then
4
-        if ! sed -e '/^#/d' -e '/^[ \t][ \t]*#/d' -e 's/#.*$//' -e '/^$/d' /etc/ntp.conf | grep server;then
4
+        if ! sed -e '/^#/d' -e '/^[ \t][ \t]*#/d' -e 's/#.*$//' -e '/^$/d' /etc/ntp.conf | grep pool;then
5 5
                 exit 1
6 6
         fi
7 7
 else