/etc/pcmcia/comedi is in libcomedi0 0.10.2-4.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | #! /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
|