Compare commits
No commits in common. "cbe837176fb810b436cd8b5645ec6c7477dd998d" and "6b9a2380ce081aea2e03cdbe468807454df91b88" have entirely different histories.
cbe837176f
...
6b9a2380ce
1 changed files with 0 additions and 14 deletions
|
@ -1,14 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
rm -rf /root/.cache /root/.rnd
|
||||
find /tmp -type d -name 'systemd-*-systemd-timesyncd.service*' -exec rm -rf '{}' '+'
|
||||
find /var/tmp -type d -name 'systemd-*-systemd-timesyncd.service*' -exec rm -rf '{}' '+'
|
||||
find /var/lib/apt -type f -delete
|
||||
find /var/cache/apt -type f -delete
|
||||
find /var/log -type f -regextype posix-extended -regex '.*\.(gz|xz|[0-9])' -delete
|
||||
truncate -s0 $HOME/.bash_history
|
||||
[ -w $HOME/.zsh_history ] && truncate -s0 $HOME/.zsh_history
|
||||
find /var/log -type f -exec truncate -s0 '{}' '+'
|
||||
dd if=/dev/zero of=/emptyfile oflag=dsync status=progress bs=4M;
|
||||
rm -f /emptyfile;
|
||||
systemctl poweroff
|
Loading…
Reference in a new issue