linux-gpib-pcmcia 581 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #! /bin/sh
  2. if [ -r ./shared ] ; then . ./shared ; else . /etc/pcmcia/shared ; fi
  3. # Get device attributes
  4. get_info $DEVICE
  5. # Load site-specific settings
  6. start_fn () { return; }
  7. stop_fn () { return; }
  8. . $0.opts
  9. case "$ACTION" in
  10. 'start')
  11. export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH;
  12. # you might need to change --minor to match /etc/gpib.conf setting
  13. gpib_config --minor 0
  14. start_fn $DEVICE
  15. ;;
  16. 'stop')
  17. stop_fn $DEVICE
  18. ;;
  19. 'check')
  20. ;;
  21. 'cksum')
  22. ;;
  23. 'restart')
  24. ;;
  25. 'suspend'|'resume')
  26. ;;
  27. *)
  28. usage
  29. ;;
  30. esac
  31. exit 0