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:04:20 +0100
commit46f5c65d242efafcc27c5da23d0f0d8387ba7250 (patch)
treead289092d1d1a7c3c230ef24c8631c7edd226f57 /systemd
parent454c31dbe6e87ac3f4fe4a832fa0c16b3c274631 (diff)
downloadinitscripts-46f5c65d242efafcc27c5da23d0f0d8387ba7250.tar
initscripts-46f5c65d242efafcc27c5da23d0f0d8387ba7250.tar.gz
initscripts-46f5c65d242efafcc27c5da23d0f0d8387ba7250.tar.bz2
initscripts-46f5c65d242efafcc27c5da23d0f0d8387ba7250.tar.xz
initscripts-46f5c65d242efafcc27c5da23d0f0d8387ba7250.zip
autorelabel: call dracut-initramfs-restore before forced reboot
Diffstat (limited to 'systemd')
-rwxr-xr-xsystemd/rhel-autorelabel1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/rhel-autorelabel b/systemd/rhel-autorelabel
index 7cb9b40c..924df8e3 100755
--- a/systemd/rhel-autorelabel
+++ b/systemd/rhel-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
}