diff options
author | Michal Sekletar <msekleta@redhat.com> | 2016-02-01 17:00:43 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2016-02-01 17:02:33 +0100 |
commit | e2613d2ea352411f2ab1e5fca82807ea3d319118 (patch) | |
tree | 2c36731de9eeac413a0c67be6af1a0137306c08c /systemd | |
parent | 3b4cc9f3ba2808c6b808d9795210aa4b00de0afd (diff) | |
download | initscripts-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-x | systemd/fedora-autorelabel | 1 |
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 } |