feat: disable auxiliary services by default

This commit is contained in:
qoijjj
2024-10-04 23:50:14 -07:00
committed by GitHub
parent e21578e6ba
commit 7d8c9dcf98
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
echo "Disabling the alsa state daemon"
systemctl disable alsa-state
systemctl mask alsa-state

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
echo "Disabling the modem manager"
systemctl disable ModemManager
systemctl mask ModemManager

View File

@@ -3,4 +3,6 @@ scripts:
- disablecups.sh
- disablesshd.sh
- disableavahidaemon.sh
- disablealsastate.sh
- disablemodemmanager.sh
- justfilehardening.sh