Debian Codegraph @

etc/pcmcia/comedi

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2
3 if [scip-shell system . . `[`. -r ./shared ] ; then . ./sharedscip-shell source . . `./shared`. ; else . /etc/pcmcia/sharedscip-shell source . . `/etc/pcmcia/shared`. ; fi
4
5 # Get device attributes
6 get_info $DEVICE
7
8 # Load site-specific settings
9 start_fnscip-shell shell comedilib 0.11.0+5-1.3 start_fn(). () { return; }
10 stop_fnscip-shell shell comedilib 0.11.0+5-1.3 stop_fn(). () { return; }
11 . $0.opts
12
13 case "$ACTION" in
14
15 'start')
16
17 #echo /usr/sbin/comedi_config /dev/comedi0 $2
18 PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH;
19 comedi_config /dev/comedi0scip-shell filesystem . . `/dev/comedi0`. $2
20
21 start_fnscip-shell shell comedilib 0.11.0+5-1.3 start_fn(). $DEVICE
22 ;;
23
24 'stop')
25
26 stop_fnscip-shell shell comedilib 0.11.0+5-1.3 stop_fn(). $DEVICE
27
28 ;;
29
30 'check')
31 ;;
32
33 'cksum')
34 ;;
35
36 'restart')
37 ;;
38
39 'suspend'|'resume')
40 ;;
41
42 *)
43 usage
44 ;;
45
46 esac
47
48 exit 0
49
50
51