cleanup
parent
d0fd0f896a
commit
c0d8991c0d
|
|
@ -1,2 +1,8 @@
|
|||
Each directory contains scripts for easier building of minimal OS installation,
|
||||
also known as SLAX - Small Live Auxiliary linuX
|
||||
|
||||
WARNING:
|
||||
|
||||
You should not run this on your system since it auto-installs some packages
|
||||
and removes lots of files from your filesystem.
|
||||
Use only on freshly installed OS. You have been warned.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm -f /var/backups/*
|
||||
rm -f /var/cache/ldconfig/*
|
||||
rm -f /var/lib/apt/extended_states
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
rm -f /var/lib/apt/lists/deb.*
|
||||
rm -Rf /root/.local/share/mc
|
||||
rm -Rf /root/.cache
|
||||
rm -f /root/.wget-hsts
|
||||
|
||||
rm -f /var/lib/dpkg/*-old
|
||||
rm -f /var/log/*
|
||||
rm -f /var/log/*/*
|
||||
rm -f /var/log/*/*/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue