diff options
Diffstat (limited to 'meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/pcic-extra.patch')
| -rw-r--r-- | meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/pcic-extra.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/pcic-extra.patch b/meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/pcic-extra.patch new file mode 100644 index 0000000000..541c4edf71 --- /dev/null +++ b/meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/pcic-extra.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 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 | ||
