home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / python / runtime.d / hplip.rtupdate next >
Encoding:
Text File  |  2007-04-04  |  429 b   |  22 lines

  1. #! /bin/sh
  2. # Python rtupdate script for hplip
  3. # $Id: hplip.rtupdate,v 1.1 2006/08/15 02:51:38 hmh Exp $
  4. #
  5. # see: Python Policy
  6.  
  7. set -e
  8.  
  9. # summary of how this script can be called:
  10. #    * pre-rtupdate <old runtime> <new runtime>
  11. #    * rtupdate <old runtime> <new runtime>
  12. #    * post-rtupdate <old runtime> <new runtime>
  13.  
  14. [ -x /usr/sbin/hpssd ] || exit 0
  15.  
  16. case "$1" in
  17.     post-rtupdate)
  18.         invoke-rc.d hplip restart || true
  19.     ;;
  20. esac
  21. :
  22.