summaryrefslogtreecommitdiff
path: root/etc.bash
diff options
context:
space:
mode:
authorDenis Chevalier <perso@denischevalier.fr>2026-08-06 10:16:18 +0200
committerDenis Chevalier <perso@denischevalier.fr>2026-08-06 10:16:18 +0200
commitf7f224aacde013931e551db637aa14e0090b3dfc (patch)
tree74e7c33407f7d24f04b9479d23f5d0f331d2abc1 /etc.bash
parent0d13f4b8fbf996b695cbbbc7cba66d32714d2a6c (diff)
downloadpostinstall-f7f224aacde013931e551db637aa14e0090b3dfc.tar.gz
postinstall-f7f224aacde013931e551db637aa14e0090b3dfc.tar.bz2
postinstall-f7f224aacde013931e551db637aa14e0090b3dfc.zip
install linux-hardened
Diffstat (limited to 'etc.bash')
-rwxr-xr-xetc.bash4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc.bash b/etc.bash
index 52a59b3..47c3ab2 100755
--- a/etc.bash
+++ b/etc.bash
@@ -17,3 +17,7 @@ sudo systemctl enable --now ufw
# fs trim
sudo systemctl enable --now fstrim.timer
+
+# linux-hardened
+sudo cp etc/mkinitcpio.d/linux-hardened.preset /etc/mkinitcpio.d
+sudo mkinitcpio -p linux-hardened