summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rwxr-xr-xmeta/packages/modutils/files/modutils.sh4
-rw-r--r--meta/packages/modutils/modutils-initscripts.bb2
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/packages/modutils/files/modutils.sh b/meta/packages/modutils/files/modutils.sh
index 89281276f..35a641206 100755
--- a/meta/packages/modutils/files/modutils.sh
+++ b/meta/packages/modutils/files/modutils.sh
@@ -5,9 +5,7 @@ LOAD_MODULE=modprobe
[ -f /etc/modules ] || exit 0
[ -e /sbin/modprobe ] || LOAD_MODULE=insmod
-if [ ! -e /sbin/depmod ]; then
- [ -f /lib/modules/`uname -r`/modules.dep ] || LOAD_MODULE=insmod
-else
+if [ ! -f /lib/modules/`uname -r`/modules.dep ]; then
[ "$VERBOSE" != no ] && echo "Calculating module dependencies ..."
depmod -Ae
fi
diff --git a/meta/packages/modutils/modutils-initscripts.bb b/meta/packages/modutils/modutils-initscripts.bb
index bf51ca87f..07f4810fc 100644
--- a/meta/packages/modutils/modutils-initscripts.bb
+++ b/meta/packages/modutils/modutils-initscripts.bb
@@ -2,7 +2,7 @@ SECTION = "base"
DESCRIPTION = "modutils configuration files"
LICENSE = "PD"
SRC_URI = "file://modutils.sh"
-PR = "r2"
+PR = "r3"
INITSCRIPT_NAME = "modutils.sh"
INITSCRIPT_PARAMS = "start 20 S ."