22 lines
447 B
Bash
Executable File
22 lines
447 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
#
|
|
# SPDX-FileCopyrightText: 2023 PeppemrintOS Team (peppermintosteam@proton.me)
|
|
|
|
# Disable AppArmor service
|
|
systemctl disable apparmor --now
|
|
|
|
# Install SELinux packages
|
|
apt install -y policycoreutils selinux-utils selinux-basics selinux-policy-default policycoreutils-python-utils
|
|
|
|
# Activate SELinux
|
|
selinux-activate
|
|
|
|
# Reload the services
|
|
systemctl daemon-reload
|
|
|
|
echo "Completed."
|
|
|
|
|