summaryrefslogtreecommitdiff
path: root/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-02-08 15:38:08 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-08 15:38:08 +0000
commit1629da56a64f1323816dbe9d051b82c8348bb6f2 (patch)
treeab50a0210801914c4afafd3af0a28a1e1838da0e /packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd
parent4944b24faa03ad5bed435b4a56022cb5b95279b3 (diff)
sharp-sdmmc-support: added some tweaks to fix #653
- /etc/init.d/sd use insmod instead of modprobe to load module (we do not have modules.dep at this moment) - module filename is defined in /etc/default/sharp_sdmmc - renamed recipe as it give false info being only for 2.4.18 - PV of package is set correct to KERNEL_VERSION (no more 2.4.18-rmk7-pxa3-embedix on 2.4.20 machines) taken from .oz354fam083
Diffstat (limited to 'packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd')
-rwxr-xr-xpackages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd70
1 files changed, 0 insertions, 70 deletions
diff --git a/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd b/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd
deleted file mode 100755
index e1c3d39ade..0000000000
--- a/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-
-# rc.sd 1.00 2001/08/08 22:40:44 (Hideki Hayami)
-#
-# Tags for init configuration tools
-#
-# processname: sdmgr
-# pidfile: /var/run/sdmgr.pid
-# description: currently SD support is only for memory devices \
-# which is used as block device.
-
-# Source function library.
-# . /etc/rc.d/init.d/functions
-
-MODULE=sharp_mmcsd_m
-
-usage()
-{
- echo "Usage: $0 {start|stop|status|restart|reload}"
-}
-
-
-
-if [ $# -lt 1 ] ; then usage ; break ; fi
-action=$1
-
-case "$action" in
-
-start)
- echo -n "Start SD services:"
- /sbin/modprobe $MODULE >/dev/null
- if [ -s /var/run/sdmgr.pid ]; then
- kill -0 `cat /var/run/sdmgr.pid` 2>/dev/null;
- else
- /sbin/sdmgr >/dev/null 2>&1 &
- RETVAL=$?
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sd
- fi
- sleep 1
- echo " sdmgr."
- ;;
-
-stop)
- echo -n "Stop SD services:"
-
- /etc/sdcontrol compeject >/dev/null
- killall sdmgr
-
- if grep -q $MODULE /proc/modules ; then
- /sbin/rmmod $MODULE
- fi
- rm -f /var/lock/subsys/sd
- echo " sdmgr."
- ;;
-
-status)
- ;;
-
-restart|reload)
- $0 stop
- $0 start
- ;;
-
-*)
- usage
- ;;
-
-esac
-
-exit 0