mountfs: set read-write mode (--sysinit) for plymouth

rc: quit plymouth with --retain-splash in runlevel 5
This commit is contained in:
Silvan Calarco 2011-06-09 14:46:52 +02:00
parent 9cf0a4c96c
commit 1536d8ab8d
2 changed files with 8 additions and 5 deletions

View File

@ -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

View File

@ -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