diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-07-08 14:49:20 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-07-08 14:49:20 -0400 |
commit | b1de3d690cae89df37029bd30f0d1621ed32d0e3 (patch) | |
tree | 1650953629bf3b71fa0df30f78921c2b2bd56bc7 /scripts/clean.sh | |
parent | scripts/cycle.3.sh: add stage3 build. (diff) | |
download | grs-b1de3d690cae89df37029bd30f0d1621ed32d0e3.tar.gz grs-b1de3d690cae89df37029bd30f0d1621ed32d0e3.tar.bz2 grs-b1de3d690cae89df37029bd30f0d1621ed32d0e3.zip |
scripts/clean.sh: migrate cleaning to chroot script.
Diffstat (limited to 'scripts/clean.sh')
-rw-r--r-- | scripts/clean.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/clean.sh b/scripts/clean.sh new file mode 100644 index 0000000..b1ad9e0 --- /dev/null +++ b/scripts/clean.sh @@ -0,0 +1,5 @@ +#!/bin/bash -e + +for d in /tmp /var/tmp /var/log; do + find ${d} -mindepth 1 -exec rm -rf {} + +rm -rf /etc/resolv.conf |