ebegin() { if [ "${QUIET_STDOUT}" = "yes" ] then return else echo -e " ${GOOD}*${NORMAL} ${*}..." fi if [ -f /proc/progress ] then # Search for the right percent percent=`grep "${*}," /etc/init.d/lpp | cut -f 1 -d ' '` # if percent is not empty then put it into /proc/progress if [ "${percent}" != "" ] then echo "${percent} ${*}" > /proc/progress fi fi }