new commit

This commit is contained in:
Manuel 2023-05-05 09:50:43 +00:00
parent 68275fbc61
commit b238424c01
3 changed files with 1 additions and 43 deletions

1
bookworm/pephooks Symbolic link
View File

@ -0,0 +1 @@
../pephooks

View File

@ -1,16 +0,0 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-3.0-or-later
#
# SPDX-FileCopyrightText: 2023 PeppemrintOS Team (peppermintosteam@proton.me)
### Error checking added to "lint-trap" section.
### Missing files no longer cause builds to fail.
# Remove software
# apt remove -y firefox-esr
# apt remove -y termit
#apt --purge --yes autoremove nvidia*

View File

@ -1,27 +0,0 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-3.0-or-later
#
# SPDX-FileCopyrightText: 2023 PeppemrintOS Team (peppermintosteam@proton.me)
# List of services to be enabled
services=("firewalld" "cockpit" "ssh" "sshguard" "apache2") # Add more services as needed
# Loop to enable each service
for service in "${services[@]}"; do
# Check if the service is already enabled
if systemctl is-enabled "$service" >/dev/null 2>&1; then
echo "Service $service is already enabled."
else
# Enable the service
systemctl enable "$service"
echo "Service $service has been successfully enabled."
fi
done
# Reload the services
systemctl daemon-reload
echo "Completed."