From 1536d8ab8df2d199da09deaa03b15addc074f7e9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 9 Jun 2011 14:46:52 +0200 Subject: [PATCH] mountfs: set read-write mode (--sysinit) for plymouth rc: quit plymouth with --retain-splash in runlevel 5 --- etc/rc.d/init.d/mountfs | 3 ++- etc/rc.d/init.d/rc | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/etc/rc.d/init.d/mountfs b/etc/rc.d/init.d/mountfs index d66a48c..945143f 100755 --- a/etc/rc.d/init.d/mountfs +++ b/etc/rc.d/init.d/mountfs @@ -31,7 +31,8 @@ case "$1" in rm -f /etc/mtab~ /etc/mtab~~ [ ! -f /proc/bus/usb/devices ] && mount -t usbfs usbfs /proc/bus/usb - #[ -e /dev/.devfsd ] && mount -f -t devfs devfs /dev + + $PLYMOUTH --sysinit # The follow mount command will mount all file systems. If you # have other (network based) file system that should not be or diff --git a/etc/rc.d/init.d/rc b/etc/rc.d/init.d/rc index f4dfb0d..9683349 100755 --- a/etc/rc.d/init.d/rc +++ b/etc/rc.d/init.d/rc @@ -137,7 +137,9 @@ else done fi -[ "$runlevel" = "5" ] || chvt 1 - -#$PLYMOUTH message --text=$"System up and running" -$PLYMOUTH quit +if [ "$runlevel" = "5" ]; then + $PLYMOUTH quit --retain-splash +else + chvt 1 + $PLYMOUTH quit +fi