summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-07-03 15:28:34 +0000
committerRoss Burton <ross@openedhand.com>2008-07-03 15:28:34 +0000
commit24c9b5d3c5d8e18c061cf7cba4d90978577ad107 (patch)
treeb09a86567d22a0158a6d3daab604814000246964
parent8499da7f6b721d9d57a2637c9fa10469d51e0c08 (diff)
downloadopenembedded-core-24c9b5d3c5d8e18c061cf7cba4d90978577ad107.tar.gz
openembedded-core-24c9b5d3c5d8e18c061cf7cba4d90978577ad107.tar.bz2
openembedded-core-24c9b5d3c5d8e18c061cf7cba4d90978577ad107.zip
modutils-initscripts: add init script depends
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4809 311d38ba-8fff-0310-9ca6-ca027cbcb966
-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 ."