home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20110502.etc.tar.gz / bradford.20110502.etc.tar / etc / NetworkManager / dispatcher.d / ntp < prev    next >
Text File  |  2006-06-29  |  251b  |  20 lines

  1. #! /bin/sh
  2. #
  3. # ntp - rerun ntp in response to interface change
  4. #
  5. # Jan Blunck <jblunck@suse.de>
  6.  
  7. case "$2" in
  8.     up)
  9.     if /sbin/chkconfig --check ntp; then
  10.         /etc/init.d/ntp start
  11.     fi
  12.     ;;
  13.     down)
  14.     /etc/init.d/ntp stop
  15.     ;;
  16.     *)
  17.     exit 0
  18.     ;;
  19. esac
  20.