summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/modutils/modutils-initscripts.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/modutils/modutils-initscripts.bb')
-rw-r--r--meta/recipes-kernel/modutils/modutils-initscripts.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-kernel/modutils/modutils-initscripts.bb b/meta/recipes-kernel/modutils/modutils-initscripts.bb
new file mode 100644
index 0000000000..b8fc6c2293
--- /dev/null
+++ b/meta/recipes-kernel/modutils/modutils-initscripts.bb
@@ -0,0 +1,18 @@
+SECTION = "base"
+DESCRIPTION = "modutils configuration files"
+LICENSE = "PD"
+SRC_URI = "file://modutils.sh"
+PR = "r4"
+
+INITSCRIPT_NAME = "modutils.sh"
+INITSCRIPT_PARAMS = "start 20 S ."
+
+inherit update-rc.d
+
+do_compile () {
+}
+
+do_install () {
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${WORKDIR}/modutils.sh ${D}${sysconfdir}/init.d/
+}