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~~ rm -f /etc/mtab~ /etc/mtab~~
[ ! -f /proc/bus/usb/devices ] && mount -t usbfs usbfs /proc/bus/usb [ ! -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 # The follow mount command will mount all file systems. If you
# have other (network based) file system that should not be or # have other (network based) file system that should not be or

View File

@ -137,7 +137,9 @@ else
done done
fi fi
[ "$runlevel" = "5" ] || chvt 1 if [ "$runlevel" = "5" ]; then
$PLYMOUTH quit --retain-splash
#$PLYMOUTH message --text=$"System up and running" else
chvt 1
$PLYMOUTH quit $PLYMOUTH quit
fi