diff options
author | Václav Pavlín <vpavlin@redhat.com> | 2013-01-28 09:46:28 +0100 |
---|---|---|
committer | Václav Pavlín <vpavlin@redhat.com> | 2013-01-28 09:46:28 +0100 |
commit | a572110dfafc51e5b5eee8fcfd1e0ca59f94202c (patch) | |
tree | 79e306b0cd03fad80388b183d44a4b07e51afe93 /systemd | |
parent | df519f69cba08847050ea467f35b46b5d75bb988 (diff) | |
download | initscripts-a572110dfafc51e5b5eee8fcfd1e0ca59f94202c.tar initscripts-a572110dfafc51e5b5eee8fcfd1e0ca59f94202c.tar.gz initscripts-a572110dfafc51e5b5eee8fcfd1e0ca59f94202c.tar.bz2 initscripts-a572110dfafc51e5b5eee8fcfd1e0ca59f94202c.tar.xz initscripts-a572110dfafc51e5b5eee8fcfd1e0ca59f94202c.zip |
Allow passing -F from /.autorelabel to fixfiles when relabeling system
(#904279)
Diffstat (limited to 'systemd')
-rwxr-xr-x | systemd/fedora-autorelabel | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/fedora-autorelabel b/systemd/fedora-autorelabel index 689908a7..7cb9b40c 100755 --- a/systemd/fedora-autorelabel +++ b/systemd/fedora-autorelabel @@ -27,7 +27,8 @@ relabel_selinux() { echo $"*** Relabeling could take a very long time, depending on file" echo $"*** system size and speed of hard drives." - /sbin/fixfiles restore > /dev/null 2>&1 + FORCE=`cat /.autorelabel` + /sbin/fixfiles $FORCE restore > /dev/null 2>&1 fi rm -f /.autorelabel systemctl --force reboot |