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~~
|
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
|
||||||
|
@ -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
|
||||||
$PLYMOUTH quit
|
chvt 1
|
||||||
|
$PLYMOUTH quit
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user