chore: run shfmt
This commit is contained in:
1 parent
ae1b695fc5
commit
adf98b53f5
1 file changed
+3
-2
@@ -4,7 +4,7 @@ set -eo pipefail
|
|||||||
echo '--> Cleaning up'
|
echo '--> Cleaning up'
|
||||||
rm -rf /tmp/* /var/tmp/*
|
rm -rf /tmp/* /var/tmp/*
|
||||||
history -c
|
history -c
|
||||||
cat /dev/null > /root/.bash_history
|
cat /dev/null >/root/.bash_history
|
||||||
unset HISTFILE
|
unset HISTFILE
|
||||||
apt-get -y autoremove
|
apt-get -y autoremove
|
||||||
apt-get -y autoclean
|
apt-get -y autoclean
|
||||||
@@ -16,4 +16,5 @@ rm -f /root/.ssh/authorized_keys /etc/ssh/*key*
|
|||||||
echo '--> Clearing log files'
|
echo '--> Clearing log files'
|
||||||
find /var/log -mtime -1 -type f -exec truncate -s 0 {} \;
|
find /var/log -mtime -1 -type f -exec truncate -s 0 {} \;
|
||||||
rm -rf /var/log/*.gz /var/log/*.[0-9] /var/log/*-????????
|
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
|
||||||
Reference in new issue
Block a user