Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
policycoreutils: adapt autorelabel script to mer
  • Loading branch information
Oliver Schmidt authored and LaakkonenJussi committed Oct 16, 2018
1 parent 2a39fa0 commit 1abe10b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rpm/selinux-autorelabel
Expand Up @@ -11,7 +11,6 @@ relabel_selinux() {
AUTORELABEL=
. /etc/selinux/config
echo "0" > /sys/fs/selinux/enforce
[ -x /bin/plymouth ] && plymouth --hide-splash

if [ "$AUTORELABEL" = "0" ]; then
echo
Expand All @@ -32,7 +31,7 @@ relabel_selinux() {
/sbin/fixfiles $FORCE restore
fi
rm -f /.autorelabel
/usr/lib/dracut/dracut-initramfs-restore
#/usr/lib/dracut/dracut-initramfs-restore
systemctl --force reboot
}

Expand Down

0 comments on commit 1abe10b

Please sign in to comment.