aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2016-02-01 17:00:43 +0100
committerLukas Nykryn <lnykryn@redhat.com>2016-02-01 17:02:33 +0100
commite2613d2ea352411f2ab1e5fca82807ea3d319118 (patch)
tree2c36731de9eeac413a0c67be6af1a0137306c08c /systemd
parent3b4cc9f3ba2808c6b808d9795210aa4b00de0afd (diff)
downloadinitscripts-e2613d2ea352411f2ab1e5fca82807ea3d319118.tar
initscripts-e2613d2ea352411f2ab1e5fca82807ea3d319118.tar.gz
initscripts-e2613d2ea352411f2ab1e5fca82807ea3d319118.tar.bz2
initscripts-e2613d2ea352411f2ab1e5fca82807ea3d319118.tar.xz
initscripts-e2613d2ea352411f2ab1e5fca82807ea3d319118.zip
autorelabel: call dracut-initramfs-restore before forced reboot
Diffstat (limited to 'systemd')
-rwxr-xr-xsystemd/fedora-autorelabel1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/fedora-autorelabel b/systemd/fedora-autorelabel
index 7cb9b40c..924df8e3 100755
--- a/systemd/fedora-autorelabel
+++ b/systemd/fedora-autorelabel
@@ -31,6 +31,7 @@ relabel_selinux() {
/sbin/fixfiles $FORCE restore > /dev/null 2>&1
fi
rm -f /.autorelabel
+ /usr/lib/dracut/dracut-initramfs-restore
systemctl --force reboot
}