scripts/clean.sh: migrate cleaning to chroot script.
This commit is contained in:
parent
8193e3c12a
commit
ace87bdaff
9
build
9
build
@ -20,20 +20,15 @@ log stamp
|
|||||||
|
|
||||||
runscript initrc.sh
|
runscript initrc.sh
|
||||||
runscript passwd.sh
|
runscript passwd.sh
|
||||||
|
runscript clean.sh
|
||||||
unmount
|
unmount
|
||||||
clean
|
|
||||||
kernel
|
kernel
|
||||||
|
|
||||||
log stamp
|
log stamp
|
||||||
log Tar_it
|
log Tar+Hash
|
||||||
log stamp
|
log stamp
|
||||||
|
|
||||||
tarit
|
tarit
|
||||||
|
|
||||||
log stamp
|
|
||||||
log Hash_it
|
|
||||||
log stamp
|
|
||||||
|
|
||||||
hashit
|
hashit
|
||||||
|
|
||||||
+log stamp
|
+log stamp
|
||||||
|
5
scripts/clean.sh
Normal file
5
scripts/clean.sh
Normal file
@ -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.con
|
Loading…
Reference in New Issue
Block a user