summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2022-09-20 21:11:11 +0300
committerPaul Moore <paul@paul-moore.com>2022-09-20 21:12:25 +0300
commit2fe2fb4ce60be9005d7bfdd5665be03b8efb5b13 (patch)
tree0f8d55ef85f680bafa39c618f5064a123280abcf
parentc969bb8dbaf2f3628927eae73e7c579a74cf1b6e (diff)
downloadlinux-2fe2fb4ce60be9005d7bfdd5665be03b8efb5b13.tar.xz
selinux: remove runtime disable message in the install_policy.sh script
We are in the process of deprecating the runtime disable mechanism, let's not reference it in the scripts. Signed-off-by: Paul Moore <paul@paul-moore.com>
-rwxr-xr-xscripts/selinux/install_policy.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/selinux/install_policy.sh b/scripts/selinux/install_policy.sh
index 20af56ce245c..24086793b0d8 100755
--- a/scripts/selinux/install_policy.sh
+++ b/scripts/selinux/install_policy.sh
@@ -31,8 +31,7 @@ fi
if selinuxenabled; then
echo "SELinux is already enabled"
echo "This prevents safely relabeling all files."
- echo "Boot with selinux=0 on the kernel command-line or"
- echo "SELINUX=disabled in /etc/selinux/config."
+ echo "Boot with selinux=0 on the kernel command-line."
exit 1
fi