diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/splash.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/splash.sh b/scripts/splash.sh index 64af011..f87efed 100644 --- a/scripts/splash.sh +++ b/scripts/splash.sh @@ -58,7 +58,7 @@ splashy_check() { splashy_exit() { if [ "$splash_mode" = "splashy" ]; then - splashy_is_running && /sbin/splashy_update exit + splashy_is_running && /sbin/splashy_update exit 2>/dev/null clear >/dev/tty8 [ "$runlevel" != "5" ] && chvt 1 fi @@ -68,7 +68,7 @@ update_progress() { if [ "$splash_mode" = "bootsplash" ]; then bootsplash_write "show $(( 65534 * ( $progress + 1 ) / $num ))" elif [ "$splash_mode" = "splashy" ]; then - /sbin/splashy_update "progress $(( 100 * $progress / $nbservices ))" + /sbin/splashy_update "progress $(( 100 * $progress / $nbservices ))" 2>/dev/null fi } @@ -147,7 +147,7 @@ num=$(( $nbservices + 2 )) # Initialize and print text string.. if [ "$progress" == 1 -o "$1" == "start" -o "$1" == "suspend" -o -f /dev/.splashy_shutdown ]; then - [ ! -f /dev/.splashy_shutdown ] || /sbin/splashy_update repaint 2>/dev/null|| exit 0 + [ ! -f /dev/.splashy_shutdown ] || /sbin/splashy_update test 2>/dev/null || exit 0 # depending on the languages, we need to use a font different of # the default one; in such case the font must be accessible, or # the translation is disabled. @@ -283,7 +283,7 @@ if [ "$progress" == 1 -o "$1" == "start" -o "$1" == "suspend" -o -f /dev/.splash if [ "$text_x" != "" -a "$text_y" != "" \ -a "$text_color" != "" -a "$text_size" != "" -a "$_silent" == "yes" -o "$_shutdown" == "yes" -o "$1" == "suspend" ]; then gprintf "Press Esc for verbose mode." - splashy_is_running && /sbin/splashy_update repaint 2>/dev/null || exit 0 + splashy_is_running && /sbin/splashy_update test 2>/dev/null || exit 0 fbtruetype.static -x $text_x -y $text_y -t $text_color -s $text_size \ $custom_font "$_boot $TEXT" rm -f /dev/.splashy_shutdown |