From: David Schleef Date: Thu, 21 Jun 2001 17:42:46 +0000 (+0000) Subject: Cleanups. X-Git-Tag: r0_7_60~151 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0f84ea7b4ccae6cf9287184f247d85914e5778e8;p=comedi.git Cleanups. --- 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')