--- trunk/busybox-initscripts/rc/cleanfs 2008/06/10 22:23:30 733 +++ trunk/busybox-initscripts/rc/cleanfs 2010/12/15 17:44:36 1168 @@ -15,7 +15,7 @@ for dir in /tmp /var/run /var/lock do - echo -e ${COLOREDSTAR}"Removing tmp files in ${dir}/* ..." + rc_print "Removing tmp files in ${dir}/* ..." for file in $(find ${dir} -type f) do [[ $(basename ${file}) = .keep ]] && continue @@ -24,15 +24,15 @@ evaluate_retval done -echo -e ${COLOREDSTAR}"Creating new /var/run/utmp ..." +rc_print "Creating new /var/run/utmp ..." touch /var/run/utmp && chmod 644 /var/run/utmp evaluate_retval -echo -e ${COLOREDSTAR}"Creating new /var/run/wtmp ..." +rc_print "Creating new /var/run/wtmp ..." touch /var/log/wtmp && chmod 644 /var/log/wtmp evaluate_retval -echo -e ${COLOREDSTAR}"Removing possible /etc/nologin /fastboot and /forcefsck ..." +rc_print "Removing possible /etc/nologin /fastboot and /forcefsck ..." rm -f /etc/nologin /fastboot /forcefsck evaluate_retval