diff options
author | Ross Burton <ross@openedhand.com> | 2008-07-03 15:28:34 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-07-03 15:28:34 +0000 |
commit | 24c9b5d3c5d8e18c061cf7cba4d90978577ad107 (patch) | |
tree | b09a86567d22a0158a6d3daab604814000246964 /meta/packages/modutils | |
parent | 8499da7f6b721d9d57a2637c9fa10469d51e0c08 (diff) | |
download | poky-24c9b5d3c5d8e18c061cf7cba4d90978577ad107.tar.gz |
modutils-initscripts: add init script depends
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4809 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/modutils')
-rwxr-xr-x | meta/packages/modutils/files/modutils.sh | 11 | ||||
-rw-r--r-- | meta/packages/modutils/modutils-initscripts.bb | 2 |
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 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | ### BEGIN INIT INFO | ||
3 | # Provides: module-init-tools | ||
4 | # Required-Start: | ||
5 | # Required-Stop: | ||
6 | # Should-Start: checkroot | ||
7 | # Should-stop: | ||
8 | # Default-Start: S | ||
9 | # Default-Stop: | ||
10 | # Short-Description: Process /etc/modules. | ||
11 | # Description: Load the modules listed in /etc/modules. | ||
12 | ### END INIT INFO | ||
2 | 13 | ||
3 | LOAD_MODULE=modprobe | 14 | LOAD_MODULE=modprobe |
4 | [ -f /proc/modules ] || exit 0 | 15 | [ -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" | |||
2 | DESCRIPTION = "modutils configuration files" | 2 | DESCRIPTION = "modutils configuration files" |
3 | LICENSE = "PD" | 3 | LICENSE = "PD" |
4 | SRC_URI = "file://modutils.sh" | 4 | SRC_URI = "file://modutils.sh" |
5 | PR = "r3" | 5 | PR = "r4" |
6 | 6 | ||
7 | INITSCRIPT_NAME = "modutils.sh" | 7 | INITSCRIPT_NAME = "modutils.sh" |
8 | INITSCRIPT_PARAMS = "start 20 S ." | 8 | INITSCRIPT_PARAMS = "start 20 S ." |