removed the modutils -t boot stuff, -t is not supported by busybox modutils anyway
added a streamlined modutils.sh to MNCI "Ramses" for faster boot
BKrev: 41500e1amZdvSJObOllaQ_D6QtMKdQ
+[ -f /proc/modules ] || exit 0
+[ -e /sbin/depmod ] || exit 0
+
+[ "$VERBOSE" != no ] && echo "Calculating module dependencies ..."
+depmod -Ae
+
+[ "$VERBOSE" != no ] && echo -n "Loading modules: "
+(cat /etc/modules; echo; ) |
+while read module args
+do
+ case "$module" in
+ \#*|"") continue ;;
+ esac
+ [ "$VERBOSE" != no ] && echo -n "$module "
+ modprobe $module $args
+done
+[ "$VERBOSE" != no ] && echo
DESCRIPTION = "modutils configuration files"
-SRC_URI = "file://modutils"
+SRC_URI = "file://modutils.sh"
+PR = "r1"
-INITSCRIPT_NAME = "modutils"
+INITSCRIPT_NAME = "modutils.sh"
INITSCRIPT_PARAMS = "start 20 S ."
inherit update-rc.d
do_install () {
install -d ${D}/etc/init.d/
- install -m 0755 ${WORKDIR}/modutils ${D}/etc/init.d/
+ install -m 0755 ${WORKDIR}/modutils.sh ${D}/etc/init.d/
}