From 0f84ea7b4ccae6cf9287184f247d85914e5778e8 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 21 Jun 2001 17:42:46 +0000 Subject: [PATCH] Cleanups. --- etc/pcmcia/comedi | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/etc/pcmcia/comedi b/etc/pcmcia/comedi index bcd0c51b..b4f7c72d 100755 --- a/etc/pcmcia/comedi +++ b/etc/pcmcia/comedi @@ -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') -- 2.26.2