Package: linuxlogo
Version: 5.10-1
Severity: wishlist

I've written a tiny shell script to install or uninstall the appropriate
magic in /etc/inittab to make the linux logo appear in login prompts.
This is easier and more reliable than requiring users to be able to read
and follow the directions in /usr/share/doc/linuxlogo/README.Debian.  My
suggestion is to include this script, or something like it, in
/usr/lib/linuxlogo/install_linux_logo, and to either point to it from
the README, or perhaps cause it to be invoked during package
installation and de-installation when some low-priority default-off
debconf configuration option is turned on.

                                        --Barak.
--
Barak A. Pearlmutter
 Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland
 http://www.bcl.hamilton.ie/~barak/
#! /bin/sh

set -e

usage() {
    echo "Usage: $0 command"
    echo "  available commands: install, uninstall"
}

case "$1" in
    install)
	cp -a /etc/inittab /etc/inittab.BAK
	sed --in-place 's_getty 38400_getty -f /etc/issue.linuxlogo 38400_' /etc/inittab
	;;

    uninstall)
	cp -a /etc/inittab /etc/inittab.BAK
	sed --in-place 's_getty -f /etc/issue.linuxlogo 38400_getty 38400_' /etc/inittab
	;;

    *)
	usage;
	exit 1
	;;
esac

Reply via email to