summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@intel.com>2010-10-14 09:48:21 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-14 20:12:03 +0100
commitdeba7adc4b936891e1d43c981ed3c8935df16498 (patch)
tree8d3dee6355d3d919f45416574f7e20053e54d3bf /meta
parentcb34a1496a7ff946452c236d764bd67320f8b710 (diff)
downloadpoky-deba7adc4b936891e1d43c981ed3c8935df16498.tar.gz
sysvinit: add check for no X11 to disbale psplash
Add a check to the rc script to check if the /etc/init.d/xserver-nodm script exists and is executable and not disable psplash if it is, otherwise disable pspalsh since we do not have X installed. Fixed [BUG #457] Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Diffstat (limited to 'meta')
-rwxr-xr-xmeta/recipes-core/sysvinit/sysvinit/rc12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/rc b/meta/recipes-core/sysvinit/sysvinit/rc
index dce31a5c98..44bc9bfd74 100755
--- a/meta/recipes-core/sysvinit/sysvinit/rc
+++ b/meta/recipes-core/sysvinit/sysvinit/rc
@@ -171,9 +171,9 @@ startup() {
171 fi 171 fi
172 172
173#Uncomment to cause psplash to exit manually, otherwise it exits when it sees a VC switch 173#Uncomment to cause psplash to exit manually, otherwise it exits when it sees a VC switch
174#if [ "x$runlevel" != "xS" ]; then 174if [ "x$runlevel" != "xS" ] && [ ! -x /etc/init.d/xserver-nodm ]; then
175# if type psplash-write >/dev/null 2>&1; then 175 if type psplash-write >/dev/null 2>&1; then
176# TMPDIR=/mnt/.psplash psplash-write "QUIT" || true 176 TMPDIR=/mnt/.psplash psplash-write "QUIT" || true
177# umount /mnt/.psplash 177 umount /mnt/.psplash
178# fi 178 fi
179#fi 179fi