summaryrefslogtreecommitdiff
path: root/etc.bash
diff options
context:
space:
mode:
authorDenis Chevalier <perso@denischevalier.fr>2026-08-06 13:46:28 +0200
committerDenis Chevalier <perso@denischevalier.fr>2026-08-06 13:46:28 +0200
commita7980241878abfe57dc8d85ca63a18c6db690aa7 (patch)
treea8d8f32d0723f52c262aa5c676dfd7db84435fe9 /etc.bash
parent1842e4f8f2be20f5fead7ae2bf3a333fcdd9f81b (diff)
downloadpostinstall-a7980241878abfe57dc8d85ca63a18c6db690aa7.tar.gz
postinstall-a7980241878abfe57dc8d85ca63a18c6db690aa7.tar.bz2
postinstall-a7980241878abfe57dc8d85ca63a18c6db690aa7.zip
cleanup, and atomicity
Diffstat (limited to 'etc.bash')
-rwxr-xr-xetc.bash3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc.bash b/etc.bash
index 4bbf093..9e5a253 100755
--- a/etc.bash
+++ b/etc.bash
@@ -1,7 +1,6 @@
#!/bin/bash
sudo cp -v ./etc/keyd/keyd.conf /etc/keyd/
-sudo cp -v ./etc/fail2ban/jail.d/sshd.conf /etc/fail2ban/jail.d/
sudo cp -v ./etc/pacman.conf /etc/
sudo cp -v ./etc/kernel/cmdline /etc/kernel/
sudo cp -v ./etc/modprobe.d/blacklist-security.conf /etc/modprobe.d/
@@ -27,7 +26,7 @@ sudo ufw enable
sudo systemctl enable --now ufw
# fail2ban
-sudo cp ./etc/fail2ban/sshd.local /etc/fail2ban
+sudo cp -v ./etc/fail2ban/jail.d/sshd.conf /etc/fail2ban/jail.d/
sudo systemctl enable --now fail2ban
# fs trim