From 518527b6271e8f0adf22ba8a69984047ed238228 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Mon, 7 May 2007 21:58:16 +0000 Subject: packages/psplash: added psplash-zap package with initscript to quit psplash before going for login prompt on console image. --- packages/psplash/files/zzapsplash-init | 4 ++++ packages/psplash/psplash-zap_1.0.bb | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 packages/psplash/files/zzapsplash-init create mode 100644 packages/psplash/psplash-zap_1.0.bb diff --git a/packages/psplash/files/zzapsplash-init b/packages/psplash/files/zzapsplash-init new file mode 100644 index 0000000000..5a713e5701 --- /dev/null +++ b/packages/psplash/files/zzapsplash-init @@ -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 index 0000000000..58fa3ed52b --- /dev/null +++ b/packages/psplash/psplash-zap_1.0.bb @@ -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 ." + -- cgit v1.2.3