aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/fedora-autorelabel
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-08-30 15:17:14 -0400
committerBill Nottingham <notting@redhat.com>2011-08-30 15:17:14 -0400
commit8e35de888bde8b123bf19c23cb4e8974cb75475e (patch)
treec3a7017cffa43162029b960ca8a04dd611387319 /systemd/fedora-autorelabel
parent588b435f07ef70684d7979b0472b8a0aabe44d71 (diff)
downloadinitscripts-8e35de888bde8b123bf19c23cb4e8974cb75475e.tar
initscripts-8e35de888bde8b123bf19c23cb4e8974cb75475e.tar.gz
initscripts-8e35de888bde8b123bf19c23cb4e8974cb75475e.tar.bz2
initscripts-8e35de888bde8b123bf19c23cb4e8974cb75475e.tar.xz
initscripts-8e35de888bde8b123bf19c23cb4e8974cb75475e.zip
selinuxfs moved, adjust code. (#733759)
Diffstat (limited to 'systemd/fedora-autorelabel')
-rwxr-xr-xsystemd/fedora-autorelabel2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/fedora-autorelabel b/systemd/fedora-autorelabel
index 70ece423..61dc5517 100755
--- a/systemd/fedora-autorelabel
+++ b/systemd/fedora-autorelabel
@@ -10,7 +10,7 @@ relabel_selinux() {
# wrong context, so a reboot will be required after relabel
AUTORELABEL=
. /etc/selinux/config
- echo "0" > /selinux/enforce
+ echo "0" > /sys/fs/selinux/enforce
[ -x /bin/plymouth ] && plymouth --hide-splash
if [ "$AUTORELABEL" = "0" ]; then