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.20120305.etc.tar.gz / bradford.20120305.etc.tar / etc / init.d / boot.isapnp < prev    next >
Text File  |  2006-04-22  |  758b  |  47 lines

  1. #! /bin/sh
  2. #
  3. # Copyright (c) 2001 SuSE GmbH Nuernberg, Germany.  All rights reserved.
  4. #
  5. # /etc/init.d/boot.isapnp
  6. #
  7. ### BEGIN INIT INFO
  8. # Provides:          boot.isapnp
  9. # Required-Start:    boot.ldconfig
  10. # X-UnitedLinux-Should-Start:    setserial boot.loopback
  11. # Required-Stop:
  12. # Default-Start:     B
  13. # Default-Stop:
  14. # Description:       start ISA-PnP
  15. ### END INIT INFO
  16.  
  17. . /etc/rc.status
  18.  
  19. rc_reset
  20.  
  21. case "$1" in
  22.  
  23. start)
  24.     #
  25.     # setup PNP if config file is present
  26.     #
  27.     if test -r /etc/isapnp.conf -a -x /sbin/isapnp ; then
  28.         echo "Initializing PnP devices"
  29.         /sbin/isapnp /etc/isapnp.conf
  30.         rc_status -v1 -r
  31.     fi
  32.     ;;  
  33. stop)
  34.     # skip / do nothing
  35.     ;;
  36. status)
  37.     rc_failed 4
  38.     rc_status -v
  39.     ;;
  40. *)
  41.     echo "Usage: $0 {start|stop|status}"
  42.     exit 1
  43.     ;;
  44. esac
  45.  
  46. rc_exit
  47.