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 passwd.sh
|
||||
runscript clean.sh
|
||||
unmount
|
||||
clean
|
||||
kernel
|
||||
|
||||
log stamp
|
||||
log Tar_it
|
||||
log Tar+Hash
|
||||
log stamp
|
||||
|
||||
tarit
|
||||
|
||||
log stamp
|
||||
log Hash_it
|
||||
log stamp
|
||||
|
||||
hashit
|
||||
|
||||
+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