Skip to content

Commit

Permalink
rc: if cleaning is actually needed, we have bigger problems later
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jun 22, 2015
1 parent 46f8781 commit 8e77138
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/etc/rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e77138

Please sign in to comment.