summaryrefslogtreecommitdiffstats
path: root/meta
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 /meta
parent8499da7f6b721d9d57a2637c9fa10469d51e0c08 (diff)
downloadpoky-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')
-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 @@
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
3LOAD_MODULE=modprobe 14LOAD_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"
2DESCRIPTION = "modutils configuration files" 2DESCRIPTION = "modutils configuration files"
3LICENSE = "PD" 3LICENSE = "PD"
4SRC_URI = "file://modutils.sh" 4SRC_URI = "file://modutils.sh"
5PR = "r3" 5PR = "r4"
6 6
7INITSCRIPT_NAME = "modutils.sh" 7INITSCRIPT_NAME = "modutils.sh"
8INITSCRIPT_PARAMS = "start 20 S ." 8INITSCRIPT_PARAMS = "start 20 S ."