Magellan Linux

Diff of /trunk/magellan-initscripts/etc/rc.d/init.d/cleanfs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1254 by niro, Fri Mar 11 17:21:56 2011 UTC revision 1255 by niro, Fri Mar 11 17:22:35 2011 UTC
# Line 21  do Line 21  do
21   [[ $(basename ${file}) = .keep ]] && continue   [[ $(basename ${file}) = .keep ]] && continue
22   rm -f ${file}   rm -f ${file}
23   done   done
24     for subdir in $(find ${dir} -mindepth 1 -type d)
25     do
26     [[ -f ${subdir}/.keep ]] && continue
27     rm -r ${subdir}
28     done
29   evaluate_retval   evaluate_retval
30  done  done
31    

Legend:
Removed from v.1254  
changed lines
  Added in v.1255