packages/psplash: added psplash-zap package with initscript to quit psplash before...
authorMichael Krelin <hacker@klever.net>
Mon, 7 May 2007 21:58:16 +0000 (21:58 +0000)
committerMichael Krelin <hacker@klever.net>
Mon, 7 May 2007 21:58:16 +0000 (21:58 +0000)
packages/psplash/files/zzapsplash-init [new file with mode: 0644]
packages/psplash/psplash-zap_1.0.bb [new file with mode: 0644]

diff --git a/packages/psplash/files/zzapsplash-init b/packages/psplash/files/zzapsplash-init
new file mode 100644 (file)
index 0000000..5a713e5
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+TMPDIR=/mnt/.psplash psplash-write "QUIT" || true
+sleep 1
+umount /mnt/.psplash >/dev/null 2>/dev/null
diff --git a/packages/psplash/psplash-zap_1.0.bb b/packages/psplash/psplash-zap_1.0.bb
new file mode 100644 (file)
index 0000000..58fa3ed
--- /dev/null
@@ -0,0 +1,13 @@
+
+SRC_URI = "file://zzapsplash-init"
+
+do_install_prepend() {
+       install -d "${D}${sysconfdir}/init.d/"
+       install -m 0755 "${WORKDIR}/zzapsplash-init" "${D}${sysconfdir}/init.d/zzapsplash"
+}
+
+inherit update-rc.d
+
+INITSCRIPT_NAME = "zzapsplash"
+INITSCRIPT_PARAMS = "start 99 5 S ."
+