summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2008-07-05 02:10:10 +0200
committermaximilian attems <maks@debian.org>2008-07-05 02:10:10 +0200
commit02def425ba404c5cde8c8e59207961d6b3fddd8f (patch)
tree91f9bb8026c6f360675c1a9d3fd6e50dd8f1e589 /scripts/functions
parent72a013043b785642d125bcba6698b460f82e97f2 (diff)
downloadinitramfs-tools-02def425ba404c5cde8c8e59207961d6b3fddd8f.tar.gz
initramfs-tools-02def425ba404c5cde8c8e59207961d6b3fddd8f.zip
usplash pulsates: drop code to increment a progress bar after each message.
ubuntu sync
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions17
1 files changed, 0 insertions, 17 deletions
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()