]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/pcmcia-cs/pcmcia-cs-3.2.8/pcic-extra.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / pcmcia-cs / pcmcia-cs-3.2.8 / pcic-extra.patch
1 --- pcmcia-cs-3.2.8/etc/rc.pcmcia~pcic-extra
2 +++ pcmcia-cs-3.2.8/etc/rc.pcmcia
3 @@ -104,11 +104,17 @@ for x in "1" ; do
4                   (/sbin/modprobe yenta_socket >/dev/null 2>&1 &&
5                    echo "using yenta_socket instead of $PCIC") ||
6                   /sbin/modprobe $PCIC $PCIC_OPTS || break
7 -               /sbin/modprobe ds || break
8 +               /sbin/modprobe $DS || break
9 +               if [ "x$PCIC_EXTRA" != "x" ]; then
10 +                  /sbin/modprobe $PCIC_EXTRA
11 +               fi
12             elif [ -d $PC ] ; then
13                 /sbin/insmod $PC/pcmcia_core.o $CORE_OPTS
14                 /sbin/insmod $PC/$PCIC.o $PCIC_OPTS
15                 /sbin/insmod $PC/ds.o
16 +               if [ "x$PCIC_EXTRA" != "x" ]; then
17 +                 /sbin/insmod $PC/$PCIC_EXTRA
18 +               fi
19             else
20                 echo "module directory $PC not found."
21                 break
22 @@ -154,7 +160,7 @@ for x in "1" ; do
23         ;;
24  
25      status)
26 -       pid=`/sbin/pidof cardmgr`
27 +       pid=`/bin/pidof cardmgr`
28         if [ "$pid" != "" ] ; then
29             echo "cardmgr (pid $pid) is running..."
30             EXITCODE=0