linux_logo - Creates an ANSI or ASCII Linux logo to use for /etc/issue ChangeLog

HOWTO


# linux_logo 5.11
# ===============
# I've been using this for years, never even thought to cover it here
# until 2012...

# If you ever want to remove linux_logo, skip down to the bottom for
# instructions.

# Get it
cd
test -f installed/linux_logo-5.11.tar.gz &&
mv installed/linux_logo-5.11.tar.gz .
test ! -f linux_logo-5.11.tar.gz &&
wget http://www.deater.net/weave/vmwprod/linux_logo/linux_logo-5.11.tar.gz

# Extract it
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "linux_logo-*" -exec rm -r {} \;
tar xzvf ~/linux_logo-5.11.tar.gz
cd linux_logo-5.11
test $UID = 0 && chown -R root:root .

# Configure and build it
# (FYI - this is not an autoconf configure script)
./configure
make

# Become root to install it
su

# 'make install' puts the man page under /usr/local/share/man, which
# does not exist in Slackware by default, so I run install manually here.
# If you need the .mo file(s), do this:  ( cd po ; make install )

# Install the program and man page
install -m 755 -s linux_logo /usr/local/bin/
install -m 644 linux_logo.1.gz /usr/local/man/man1/

# To use linux_logo for your login screen, do something like this, which
# you may want to add to /etc/rc.d/rc.local
test -x /usr/local/bin/linux_logo &&
/usr/local/bin/linux_logo -f \
  -t "$(cat /etc/slackware-version | cut -d'.' -f1,2 )" \
   > /etc/issue

# Become your non-root user again
exit

# Save the tarball for later
cd
mkdir -p -m 0700 installed
rm -f installed/linux_logo-*.tar.*
mv linux_logo-5.11.tar.gz installed/


# If you ever want to uninstall linux_logo, this should do it:
cd
su -c "rm -f /usr/local/bin/linux_logo /usr/local/man/man1/linux_logo.1.gz"
find ~/src -maxdepth 1 -type d -name "linux_logo-*" -exec rm -r {} \;
rm -f ~/installed/linux_logo-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2012-02-29 7:32pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]