commit e5c6dfabd95efee74ed2b6b64789de070fdcd403
parent c6cbab35e715c10ac07faf4efd048fd0e867dc84
Author: pyratebeard <root@pyratebeard.net>
Date: Thu, 21 Dec 2023 21:59:47 +0000
install more pkgs. shred more stuff
Diffstat:
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/forge b/forge
@@ -11,7 +11,7 @@
#
# author ▓▒ pyratebeard <root@pyratebeard.net>
# code ▓▒ https://git.pyratebeard.net/setup
-# code ▓▒ curl -L https://s.rum.sh/forge > forge && chmod +x forge && ./forge
+# usage ▓▒ curl -L https://s.rum.sh/forge > forge && chmod +x forge && ./forge
# ▓▓▒░ user vars
export USR="dwarf"
@@ -32,13 +32,11 @@ function _echo() { printf "\n╓───── %s \n╙────────
}
# ▓▓▒░ locale
-_echo "setting up locales and console"
+_echo "setting up locales"
locale-gen "en_US.UTF-8"
localectl set-locale en_US.UTF-8
dpkg-reconfigure locales
-dpkg-reconfigure console-setup
systemctl daemon-reload
-systemctl restart console-setup.service
# ▓▓▒░ packages
_echo "installing runtime deps"
@@ -53,7 +51,9 @@ apt-get update && \
apt-get install -y \
bash \
coreutils \
+ dnsutils \
fail2ban \
+ secure-delete \
stow \
tmux \
tree \
@@ -137,7 +137,9 @@ echo "${HOSTNAME}: ${USR}@${IP}"
_echo "cleanup"
bw logout
+srm -dvrl /root/bw.zip
srm -dvrl /root/.config/Bitwarden\ CLI/ &>/dev/null
+srm -dvrl /root/.ssh
_echo "selfdestruct"
srm -dvrl "$0" &> /dev/null