Diff for /doc/loncapafiles/ntpcheck.piml between versions 1.32 and 1.33

version 1.32, 2018/06/11 03:53:08 version 1.33, 2018/06/19 12:26:32
Line 49  if (('<DIST />' eq 'fedora15')    || ('< Line 49  if (('<DIST />' eq 'fedora15')    || ('<
     ('<DIST />' eq 'fedora25')    || ('<DIST />' eq 'fedora26') ||      ('<DIST />' eq 'fedora25')    || ('<DIST />' eq 'fedora26') ||
     ('<DIST />' eq 'fedora27')    || ('<DIST />' eq 'fedora28') ||      ('<DIST />' eq 'fedora27')    || ('<DIST />' eq 'fedora28') ||
     ('<DIST />' eq 'centos7')     || ('<DIST />' eq 'rhes7')    ||      ('<DIST />' eq 'centos7')     || ('<DIST />' eq 'rhes7')    ||
     ('<DIST />' eq 'scientific7') || ('<DIST />' eq 'sles12')) {      ('<DIST />' eq 'scientific7') || ('<DIST />' eq 'sles12')   ||
       ('<DIST />' eq 'ubuntu18')) {
     $NTPD = 'ntpd';      $NTPD = 'ntpd';
     $startntpcmd = 'systemctl start ntpd.service';      if ('<DIST />' eq 'ubuntu18') {
     if (!-e '/usr/sbin/ntpd') {          $NTPD = 'ntp'; 
       }
       $startntpcmd = "systemctl start $NTPD.service";
       if (!-e "/usr/sbin/$NTPD") {
         print "ntp is not installed.\n";          print "ntp is not installed.\n";
         exit;          exit;
     }      }
Line 92  if (('<DIST />' eq 'fedora15')    || ('< Line 96  if (('<DIST />' eq 'fedora15')    || ('<
     ('<DIST />' eq 'fedora25')    || ('<DIST />' eq 'fedora26') ||      ('<DIST />' eq 'fedora25')    || ('<DIST />' eq 'fedora26') ||
     ('<DIST />' eq 'fedora27')    || ('<DIST />' eq 'fedora28') ||      ('<DIST />' eq 'fedora27')    || ('<DIST />' eq 'fedora28') ||
     ('<DIST />' eq 'centos7')     || ('<DIST />' eq 'rhes7')    ||      ('<DIST />' eq 'centos7')     || ('<DIST />' eq 'rhes7')    ||
     ('<DIST />' eq 'scientific7') || ('<DIST />' eq 'sles12')) {      ('<DIST />' eq 'scientific7') || ('<DIST />' eq 'sles12') ||
     if (!-l "/etc/systemd/system/multi-user.target.wants/ntpd.service") {        ('<DIST />' eq 'ubuntu18')) {
         print "**** WARNING: ntpd is not configured to run at boot.  To correct this run:\nsystemctl enable ntpd.service\n";      if (!-l "/etc/systemd/system/multi-user.target.wants/$NTPD.service") {  
           print "**** WARNING: $NTPD is not configured to run at boot.  To correct this run:\nsystemctl enable $NTPD.service\n";
     }      }
     exit;      exit;
 } else {  } else {

Removed from v.1.32  
changed lines
  Added in v.1.33


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>