From 02def425ba404c5cde8c8e59207961d6b3fddd8f Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Sat, 5 Jul 2008 02:10:10 +0200 Subject: usplash pulsates: drop code to increment a progress bar after each message. ubuntu sync --- scripts/functions | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'scripts/functions') diff --git a/scripts/functions b/scripts/functions index c29a314..a004c9e 100644 --- a/scripts/functions +++ b/scripts/functions @@ -35,23 +35,6 @@ log_end_msg() /sbin/usplash_write "SUCCESS ok" fi _log_msg "Done." - update_progress -} - -update_progress() -{ - [ -d /dev/.initramfs ] || return - - if [ -z "$PROGRESS_STATE" ]; then - export PROGRESS_STATE=0 - fi - - PROGRESS_STATE=$(($PROGRESS_STATE + 1)) - echo "PROGRESS_STATE=${PROGRESS_STATE}" > /dev/.initramfs/progress_state - - if [ -x /sbin/usplash_write ]; then - /sbin/usplash_write "PROGRESS $PROGRESS_STATE" - fi } panic() -- cgit v1.2.3