chore: run shfmt

This commit is contained in:
Jose Diaz-Gonzalez
2023-02-16 14:22:44 -05:00
parent ae1b695fc5
commit adf98b53f5

View File

@@ -4,7 +4,7 @@ set -eo pipefail
echo '--> Cleaning up'
rm -rf /tmp/* /var/tmp/*
history -c
cat /dev/null > /root/.bash_history
cat /dev/null >/root/.bash_history
unset HISTFILE
apt-get -y autoremove
apt-get -y autoclean
@@ -16,4 +16,5 @@ rm -f /root/.ssh/authorized_keys /etc/ssh/*key*
echo '--> Clearing log files'
find /var/log -mtime -1 -type f -exec truncate -s 0 {} \;
rm -rf /var/log/*.gz /var/log/*.[0-9] /var/log/*-????????
cat /dev/null > /var/log/lastlog; cat /dev/null > /var/log/wtmp
cat /dev/null >/var/log/lastlog
cat /dev/null >/var/log/wtmp