diff options
-rwxr-xr-x | meta/recipes-kernel/modutils-initscripts/files/modutils.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/modutils-initscripts/files/modutils.sh b/meta/recipes-kernel/modutils-initscripts/files/modutils.sh index 28fe6f92d7..67e1dcd990 100755 --- a/meta/recipes-kernel/modutils-initscripts/files/modutils.sh +++ b/meta/recipes-kernel/modutils-initscripts/files/modutils.sh | |||
@@ -13,6 +13,7 @@ | |||
13 | 13 | ||
14 | LOAD_MODULE=modprobe | 14 | LOAD_MODULE=modprobe |
15 | [ -f /proc/modules ] || exit 0 | 15 | [ -f /proc/modules ] || exit 0 |
16 | [ -d /lib/modules/`uname -r` ] || exit 0 | ||
16 | 17 | ||
17 | # Test if modules.dep exists and has a size greater than zero | 18 | # Test if modules.dep exists and has a size greater than zero |
18 | if [ ! -s /lib/modules/`uname -r`/modules.dep ]; then | 19 | if [ ! -s /lib/modules/`uname -r`/modules.dep ]; then |