Diff for /doc/loncapafiles/ntpcheck.piml between versions 1.15 and 1.16

version 1.15, 2011/11/08 07:38:31 version 1.16, 2012/07/24 04:20:50
Line 41  my $NTPD; Line 41  my $NTPD;
 my $checkcmd = 'ps -ef |grep ntp |grep -v grep';  my $checkcmd = 'ps -ef |grep ntp |grep -v grep';
 my $startntpcmd;  my $startntpcmd;
 my $is_running;  my $is_running;
 if (('<DIST />' eq 'fedora15') || ('<DIST />' eq 'fedora16')) {  if (('<DIST />' eq 'fedora15') || ('<DIST />' eq 'fedora16') || ('<DIST />' eq 'fedora17')) {
     $NTPD = 'ntpd';      $NTPD = 'ntpd';
     $startntpcmd = 'systemctl start ntpd.service';      $startntpcmd = 'systemctl start ntpd.service';
     if (!-e '/usr/sbin/ntpd') {      if (!-e '/usr/sbin/ntpd') {
Line 81  if ('<DIST />' eq 'debian5' || '<DIST /> Line 81  if ('<DIST />' eq 'debian5' || '<DIST />
 } else {  } else {
     $checking_bin = '/sbin/chkconfig';      $checking_bin = '/sbin/chkconfig';
 }  }
 if (('<DIST />' eq 'fedora15') || ('<DIST />' eq 'fedora16')) {  if (('<DIST />' eq 'fedora15') || ('<DIST />' eq 'fedora16') || ('<DIST />' eq 'fedora17')) {
     if (!-l "/etc/systemd/system/multi-user.target.wants/ntpd.service") {        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";          print "**** WARNING: ntpd is not configured to run at boot.  To correct this run:\nsystemctl enable ntpd.service\n";
     }      }

Removed from v.1.15  
changed lines
  Added in v.1.16


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