summaryrefslogtreecommitdiff
path: root/meta/packages/modutils/modutils-initscripts.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/modutils/modutils-initscripts.bb')
-rw-r--r--meta/packages/modutils/modutils-initscripts.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/modutils/modutils-initscripts.bb b/meta/packages/modutils/modutils-initscripts.bb
new file mode 100644
index 0000000000..bf51ca87f6
--- /dev/null
+++ b/meta/packages/modutils/modutils-initscripts.bb
@@ -0,0 +1,18 @@
+SECTION = "base"
+DESCRIPTION = "modutils configuration files"
+LICENSE = "PD"
+SRC_URI = "file://modutils.sh"
+PR = "r2"
+
+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/
+}