Removed two scripts which are no longer used by hotplug.
authorBernd Porr <berndporr@f2s.com>
Mon, 23 Apr 2012 11:28:13 +0000 (12:28 +0100)
committerBernd Porr <berndporr@f2s.com>
Mon, 23 Apr 2012 11:28:13 +0000 (12:28 +0100)
In the early udev days the firmware had to be uploaded
by comedi_config. However now the driver requests the
firmware by itself and there is no need to have dedicated
scripts for every kernel module in udev.

etc/udev/Makefile.am
etc/udev/usbdux [deleted file]
etc/udev/usbduxfast [deleted file]

index 14280823fc27cf2e97603580d5ce26e10fe88f87..cdfe0d1d29a38bea65cef5bcf7de2e2741e7ca07 100644 (file)
@@ -1,10 +1,10 @@
-EXTRA_DIST = 90-comedi.rules usbdux usbduxfast
+EXTRA_DIST = 90-comedi.rules
 
 if INSTALL_UDEVHOTPLUG
 
 udevrules_DATA = 90-comedi.rules
 
-udevscripts_SCRIPTS = usbdux usbduxfast
+udevscripts_SCRIPTS =
 
 else
 
diff --git a/etc/udev/usbdux b/etc/udev/usbdux
deleted file mode 100755 (executable)
index dce2528..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# hotplug script for USBDUX. Apr 21 GMT 2007
-# berndporr@f2s.com
-#
-#
-#
-#look for comedi config
-COMEDI_CONFIG=
-#
-if [ -e /usr/local/sbin/comedi_config ]; then
-       COMEDI_CONFIG=/usr/local/sbin/comedi_config
-fi
-if [ -e /usr/sbin/comedi_config ]; then 
-        COMEDI_CONFIG=/usr/sbin/comedi_config
-fi
-if [ -e /sbin/comedi_config ]; then 
-        COMEDI_CONFIG=/sbin/comedi_config
-fi
-#
-#
-#look for the firmware
-#default location
-USBDUX_FIRMWARE=/lib/firmware/usbdux_firmware.hex
-#
-#
-# 
-# just to make sure we remove the comedi device
-$COMEDI_CONFIG -r /dev/comedi0
-#
-# connecting the comedi device comedi0 with the module usbdux
-$COMEDI_CONFIG -i $USBDUX_FIRMWARE /dev/comedi0 usbdux
-#
-#
diff --git a/etc/udev/usbduxfast b/etc/udev/usbduxfast
deleted file mode 100755 (executable)
index f45266d..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-#
-# hotplug script for USBDUXFAST. Apr 21 2007. 
-# berndporr@f2s.com
-#
-#
-#
-#look for comedi config
-COMEDI_CONFIG=
-#
-if [ -e /usr/local/sbin/comedi_config ]; then
-       COMEDI_CONFIG=/usr/local/sbin/comedi_config
-fi
-if [ -e /usr/sbin/comedi_config ]; then 
-        COMEDI_CONFIG=/usr/sbin/comedi_config
-fi
-if [ -e /sbin/comedi_config ]; then 
-        COMEDI_CONFIG=/sbin/comedi_config
-fi
-#
-#
-# default location
-USBDUX_FIRMWARE=/lib/firmware/usbduxfast_firmware.hex
-#
-#
-#
-#
-#
-# If you have more than one device please add/uncomment
-# 
-# just to make sure we remove the comedi device
-$COMEDI_CONFIG -r /dev/comedi0
-# $COMEDI_CONFIG -r /dev/comedi1
-#
-# connecting the comedi device comedi0 with the module usbdux
-$COMEDI_CONFIG --read-buffer 512 -i $USBDUX_FIRMWARE /dev/comedi0 usbduxfast
-# $COMEDI_CONFIG /dev/comedi1 usbduxfast
-#
-#