new commit
This commit is contained in:
parent
68275fbc61
commit
b238424c01
|
@ -0,0 +1 @@
|
||||||
|
../pephooks
|
|
@ -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*
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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."
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue