summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmeta/packages/modutils/files/modutils.sh11
-rw-r--r--meta/packages/modutils/modutils-initscripts.bb2
2 files changed, 12 insertions, 1 deletions
diff --git a/meta/packages/modutils/files/modutils.sh b/meta/packages/modutils/files/modutils.sh
index 35a6412065..9049bbb8aa 100755
--- a/meta/packages/modutils/files/modutils.sh
+++ b/meta/packages/modutils/files/modutils.sh
@@ -1,4 +1,15 @@
#!/bin/sh
+### BEGIN INIT INFO
+# Provides: module-init-tools
+# Required-Start:
+# Required-Stop:
+# Should-Start: checkroot
+# Should-stop:
+# Default-Start: S
+# Default-Stop:
+# Short-Description: Process /etc/modules.
+# Description: Load the modules listed in /etc/modules.
+### END INIT INFO
LOAD_MODULE=modprobe
[ -f /proc/modules ] || exit 0
diff --git a/meta/packages/modutils/modutils-initscripts.bb b/meta/packages/modutils/modutils-initscripts.bb
index 07f4810fc6..b8fc6c2293 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 = "r3"
+PR = "r4"
INITSCRIPT_NAME = "modutils.sh"
INITSCRIPT_PARAMS = "start 20 S ."