selinux-autorelabel: Use plymouth --quit rather then --hide-splash
plymouth by defaults waits for 5 seconds before showing the splash so that the splash simply gets skipped on real quick boots. In my testing it seems that --hide-splash is a no-op when run before the 5 seconds have passed and the splash is shown, causing the splash to still be there during a relabel. Note this problem only shows when *not* using disk-encryption. Switching to plymouth --quit fixes this. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
426ef33d7b
commit
a16e7bc7bb
@ -35,7 +35,7 @@ relabel_selinux() {
|
|||||||
AUTORELABEL=
|
AUTORELABEL=
|
||||||
. /etc/selinux/config
|
. /etc/selinux/config
|
||||||
echo "0" > /sys/fs/selinux/enforce
|
echo "0" > /sys/fs/selinux/enforce
|
||||||
[ -x /bin/plymouth ] && plymouth --hide-splash
|
[ -x /bin/plymouth ] && plymouth --quit
|
||||||
|
|
||||||
if [ "$AUTORELABEL" = "0" ]; then
|
if [ "$AUTORELABEL" = "0" ]; then
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user