Cleanups.
authorDavid Schleef <ds@schleef.org>
Thu, 21 Jun 2001 17:42:46 +0000 (17:42 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 21 Jun 2001 17:42:46 +0000 (17:42 +0000)
etc/pcmcia/comedi

index bcd0c51ba4ddc52f79c46bbdf10624647525240e..b4f7c72d1262bb4bfc7c58f0c1aeeb654355d3b3 100755 (executable)
@@ -6,18 +6,15 @@ if [ -r ./shared ] ; then . ./shared ; else . /etc/pcmcia/shared ; fi
 get_info $DEVICE
 
 # Load site-specific settings
-ADDRESS="$SCHEME,$SOCKET,$INSTANCE,$HWADDR"
 start_fn () { return; }
 stop_fn () { return; }
 . $0.opts
 
-RESOLV=/etc/resolv.conf
-
 case "$ACTION" in
 
 'start')
 
-    echo /usr/sbin/comedi_config /dev/comedi0 $2
+    #echo /usr/sbin/comedi_config /dev/comedi0 $2
     /usr/sbin/comedi_config /dev/comedi0 $2
 
     start_fn $DEVICE
@@ -33,11 +30,9 @@ case "$ACTION" in
     ;;
 
 'cksum')
-    chk_simple "$3,$SOCKET,$INSTANCE,$HWADDR" || exit 1
     ;;
 
 'restart')
-    test "$IPADDR" && /sbin/ifconfig $DEVICE down up
     ;;
 
 'suspend'|'resume')