mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-20 15:06:36 -05:00
Update selfdestruct.sh
This commit is contained in:
parent
69003fa180
commit
f67a97184f
1 changed files with 1 additions and 8 deletions
|
|
@ -13,17 +13,12 @@ dmesg -C
|
|||
rm ~/.bash_history
|
||||
history -c && history -w
|
||||
|
||||
# Clear Shell History
|
||||
rm ~/.bash_history
|
||||
history -c && history -w
|
||||
|
||||
# Clear Temporary Files
|
||||
rm -rf /tmp/*
|
||||
rm -rf /var/tmp/*
|
||||
|
||||
# Stop BBS service and clear log
|
||||
systemctl stop mesh-bbs.service
|
||||
rm bbs.log
|
||||
|
||||
# Clear Package Cache
|
||||
apt-get -y autoremove
|
||||
|
|
@ -81,12 +76,10 @@ echo "------- Delete dummy file -------"
|
|||
rm -f ~/delete_me
|
||||
sync
|
||||
sync
|
||||
fstrim -v /
|
||||
echo "-------Finish zeroing at $(date)-------"
|
||||
echo ""
|
||||
|
||||
# Trim filesystem
|
||||
fstrim -v /
|
||||
|
||||
# Clear dmesg Log
|
||||
dmesg -C
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue