rc: if cleaning is actually needed, we have bigger problems later

This commit is contained in:
Franco Fichtner 2015-06-22 07:42:18 +02:00
parent 46f8781434
commit 8e77138ab8

View File

@ -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