comedilib/etc/pcmcia/comedi
Frank Mori Hess 70666cad39 added etc/ to EXTRA_DIST, moved creation of /etc/comedi/calibrations to
comedi_calibrate subdirectory's makefile
2003-07-09 20:13:00 +00:00

51 lines
560 B
Bash
Executable file

#! /bin/sh
if [ -r ./shared ] ; then . ./shared ; else . /etc/pcmcia/shared ; fi
# Get device attributes
get_info $DEVICE
# Load site-specific settings
start_fn () { return; }
stop_fn () { return; }
. $0.opts
case "$ACTION" in
'start')
#echo /usr/sbin/comedi_config /dev/comedi0 $2
PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH;
comedi_config /dev/comedi0 $2
start_fn $DEVICE
;;
'stop')
stop_fn $DEVICE
;;
'check')
;;
'cksum')
;;
'restart')
;;
'suspend'|'resume')
;;
*)
usage
;;
esac
exit 0