aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rwxr-xr-xsystemd/fedora-autorelabel6
1 files changed, 1 insertions, 5 deletions
diff --git a/systemd/fedora-autorelabel b/systemd/fedora-autorelabel
index 6148cd26..2a5cc491 100755
--- a/systemd/fedora-autorelabel
+++ b/systemd/fedora-autorelabel
@@ -51,11 +51,7 @@ relabel_selinux() {
/sbin/fixfiles -F restore > /dev/null 2>&1
fi
rm -f /.autorelabel
- echo $"Unmounting file systems"
- umount -a
- mount -n -o remount,ro /
- echo $"Automatic reboot in progress."
- reboot -f
+ systemctl --force reboot
}
[ -z "${cmdline}" ] && cmdline=$(cat /proc/cmdline)