Skip to content

Commit

Permalink
Making medium removal message working again with usplash.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed Feb 7, 2009
1 parent 7a851de commit 56b3911
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions debian/live-initramfs.init
Expand Up @@ -126,17 +126,16 @@ do_stop ()
eject -p -m /live/image >/dev/null 2>&1
MESSAGE="Please remove the disc, close the the tray (if any)"
fi
MESSAGE="${MESSAGE} and press ENTER to continue:"

[ "$prompt" ] || return 0
fi

stty sane < /dev/console

echo -n -e "\n\n${MESSAGE}" > /dev/console
echo -n -e "\n\n${MESSAGE} and press ENTER to continue:" > /dev/console
if [ -x /sbin/usplash_write ]; then
/sbin/usplash_write "TIMEOUT 86400"
/sbin/usplash_write "TEXT-URGENT Please remove the disc, close the tray (if any)"
/sbin/usplash_write "TEXT-URGENT ${MESSAGE}"
/sbin/usplash_write "TEXT-URGENT and press ENTER to continue"
fi

Expand Down

0 comments on commit 56b3911

Please sign in to comment.