summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2022-09-20 14:11:11 -0400
committerPaul Moore <paul@paul-moore.com>2022-09-20 14:12:25 -0400
commit2fe2fb4ce60be9005d7bfdd5665be03b8efb5b13 (patch)
tree0f8d55ef85f680bafa39c618f5064a123280abcf /scripts
parentc969bb8dbaf2f3628927eae73e7c579a74cf1b6e (diff)
downloadlinux-stable-2fe2fb4ce60be9005d7bfdd5665be03b8efb5b13.tar.gz
linux-stable-2fe2fb4ce60be9005d7bfdd5665be03b8efb5b13.tar.bz2
linux-stable-2fe2fb4ce60be9005d7bfdd5665be03b8efb5b13.zip
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>
Diffstat (limited to 'scripts')
-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