mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
rc: if cleaning is actually needed, we have bigger problems later
This commit is contained in:
parent
46f8781434
commit
8e77138ab8
@ -53,12 +53,6 @@ done
|
||||
if _tmpdir=$(mktemp -d -q /.diskless.XXXXXX); then
|
||||
# only remove the directory
|
||||
rmdir ${_tmpdir}
|
||||
|
||||
# cleanup configuration files from previous instance
|
||||
# (does not work with install media unfortunately)
|
||||
/bin/rm -rf /var/run/*
|
||||
/bin/rm -rf /var/etc/*
|
||||
/bin/rm -rf /var/tmp/*
|
||||
else
|
||||
# fake a writeable environment in some subdirs
|
||||
for i in conf etc home root usr var; do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user