fix script for different common comedi_config paths
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 1 Jun 2003 18:38:22 +0000 (18:38 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 1 Jun 2003 18:38:22 +0000 (18:38 +0000)
etc/pcmcia/comedi

index b4f7c72d1262bb4bfc7c58f0c1aeeb654355d3b3..20adbeaba235c63ff05b766343a1f32cd65705c5 100755 (executable)
@@ -15,7 +15,8 @@ case "$ACTION" in
 'start')
 
     #echo /usr/sbin/comedi_config /dev/comedi0 $2
-    /usr/sbin/comedi_config /dev/comedi0 $2
+    export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH;
+    comedi_config /dev/comedi0 $2
 
     start_fn $DEVICE
     ;;