mountfs: set read-write mode (--sysinit) for plymouth
rc: quit plymouth with --retain-splash in runlevel 5
This commit is contained in:
parent
9cf0a4c96c
commit
1536d8ab8d
@ -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
|
||||
|
@ -137,7 +137,9 @@ else
|
||||
done
|
||||
fi
|
||||
|
||||
[ "$runlevel" = "5" ] || chvt 1
|
||||
|
||||
#$PLYMOUTH message --text=$"System up and running"
|
||||
if [ "$runlevel" = "5" ]; then
|
||||
$PLYMOUTH quit --retain-splash
|
||||
else
|
||||
chvt 1
|
||||
$PLYMOUTH quit
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user