Lines 220-227
Link Here
|
220 |
|
220 |
|
221 |
if [ "${fsstate}" = "inline" ] |
221 |
if [ "${fsstate}" = "inline" ] |
222 |
then |
222 |
then |
223 |
/sbin/splash "${myscript}" "${action}" |
223 |
# (This should call a wrapper script, the splash tool doesn't understand this) |
|
|
224 |
#/sbin/splash "${myscript}" "${action}" |
225 |
|
226 |
# Update the progress bar |
224 |
pb_count=$((${pb_count} + 1)) |
227 |
pb_count=$((${pb_count} + 1)) |
|
|
228 |
echo "show $(( ${pb_init} + ((${pb_rate} - ${pb_init}) * ${pb_count} / ${pb_scripts}) ))" > /proc/splash |
225 |
|
229 |
|
226 |
# Only needed for splash_debug() |
230 |
# Only needed for splash_debug() |
227 |
pb_execed="${pb_execed} ${myscript:-inline}" |
231 |
pb_execed="${pb_execed} ${myscript:-inline}" |
Lines 241-248
Link Here
|
241 |
[ "${x}" = "${myscript}" ] && return |
245 |
[ "${x}" = "${myscript}" ] && return |
242 |
done |
246 |
done |
243 |
|
247 |
|
244 |
/sbin/splash "${myscript}" "${action}" |
248 |
# (This should call a wrapper script, the splash tool doesn't understand this) |
|
|
249 |
#/sbin/splash "${myscript}" "${action}" |
250 |
|
251 |
# Update the progress bar |
245 |
pb_count=$((${pb_count} + 1)) |
252 |
pb_count=$((${pb_count} + 1)) |
|
|
253 |
echo "show $(( ${pb_init} + ((${pb_rate} - ${pb_init}) * ${pb_count} / ${pb_scripts}) ))" > /proc/splash |
246 |
|
254 |
|
247 |
echo "pb_init=${pb_init}" > "${svcdir}/progress" |
255 |
echo "pb_init=${pb_init}" > "${svcdir}/progress" |
248 |
echo "pb_rate=${pb_rate}" >> "${svcdir}/progress" |
256 |
echo "pb_rate=${pb_rate}" >> "${svcdir}/progress" |