1 --- a/rc 2012-03-06 01:33:16.778221585 +0100
2 +++ b/rc 2012-03-06 01:34:49.482223958 +0100
4 progress=$progress_size
6 #echo "PROGRESS is $progress $runlevel $first_step + ($step of $num_steps) $step_change $progress_size"
7 - #if type psplash-write >/dev/null 2>&1; then
8 - # TMPDIR=/mnt/.psplash psplash-write "PROGRESS $progress" || true
10 - if [ -e /mnt/.psplash/psplash_fifo ]; then
11 - echo "PROGRESS $progress" > /mnt/.psplash/psplash_fifo
12 + if [ $progress -gt 0 -a -e /proc/progress ]; then
13 + echo $(($progress / 2)) > /proc/progress