[PATCH] typos in hotplug scripts, pcmciautils-010
Matthew Wilcox
matthew at wil.cx
Thu Oct 6 07:47:48 EDT 2005
On Thu, Oct 06, 2005 at 12:47:20PM +0200, Giuseppe Argentieri wrote:
> 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
Agreed.
> pcmcia_socket.agent (line 25): a slash is needed just before $SOCKET_NO
No.
> --- 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
Look in /sys ...
$ ls /sys/class/pcmcia_socket/
pcmcia_socket0 pcmcia_socket1
The original looks correct to me.
More information about the linux-pcmcia
mailing list