[PATCH] typos in hotplug scripts, pcmciautils-010
Giuseppe Argentieri
giuseppe.argentieri at spiro.fisica.unipd.it
Thu Oct 6 06:47:20 EDT 2005
Hello,
I think there are some mistakes in pcmcia.rc and pcmcia_socket.agent scripts in the hotplug directory.
pcmcia.rc (line 25): $PCMICA_DEVICE instead of $PCMCIA_DEVICE
pcmcia_socket.agent (line 25): a slash is needed just before $SOCKET_NO
--- pcmcia.rc 2005-06-29 20:03:10.000000000 +0200
+++ ../../pcmcia.rc 2005-09-29 13:22:34.000000000 +0200
@@ -22,7 +22,7 @@
continue;
fi;
MODALIAS=$(cat $PCMCIA_DEVICE/modalias)
- debug_mesg $MODALIAS $PCMICA_DEVICE
+ debug_mesg $MODALIAS $PCMCIA_DEVICE
if [ -z $MODALIAS ]; then
continue;
fi;
--- pcmcia_socket.agent 2005-03-04 22:43:01.000000000 +0100
+++ ../../pcmcia_socket.agent 2005-09-29 13:23:25.000000000 +0200
@@ -22,7 +22,7 @@
add)
sleep 1;
pcmcia-socket-startup $SOCKET_NO
- DONE_FILE=/sys/class/pcmcia_socket/pcmcia_socket$SOCKET_NO/available_resources_setup_done
+ DONE_FILE=/sys/class/pcmcia_socket/pcmcia_socket/$SOCKET_NO/available_resources_setup_done
if [ -f $DONE_FILE ]; then
if [ -w $DONE_FILE ]; then
echo -n "42" > $DONE_FILE
I'm sorry that my previous mail was automatically html-formatted by
gmail.
Best regards,
--
http://swpat.ffii.org/
Giuseppe Argentieri
More information about the linux-pcmcia
mailing list