Commit 8e77138a authored by Franco Fichtner's avatar Franco Fichtner

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

parent 46f87814
...@@ -53,12 +53,6 @@ done ...@@ -53,12 +53,6 @@ done
if _tmpdir=$(mktemp -d -q /.diskless.XXXXXX); then if _tmpdir=$(mktemp -d -q /.diskless.XXXXXX); then
# only remove the directory # only remove the directory
rmdir ${_tmpdir} 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 else
# fake a writeable environment in some subdirs # fake a writeable environment in some subdirs
for i in conf etc home root usr var; do for i in conf etc home root usr var; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment