Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I would like to pipe my tty number through figlet (ASCII generator) for the /etc/issue (message shown before login). Obviously this means I can't just update it from /etc/rc.local.

On my system (Arch), agetty is responsible for parsing the file.

share|improve this question
    
It seems you're going to need to hack your own agetty replacement or at least write a wrapper :) –  Vitor Jul 18 '11 at 2:06
add comment

2 Answers

I'm sure there's a cleaner way to do this, but one solution would be to run your figlet command and redirect the output into /etc/issue.tty{1-11}, effectively hard-coding the figlet output for each tty.

share|improve this answer
add comment

This reminds me of the linuxlogo package. Check it out like this:

$ apt-cache search linuxlogo
linuxlogo - Color ANSI System Logo

$ sudo apt-get install linuxlogo
...

$ linuxlogo -L list
share|improve this answer
2  
The OP is looking for an Arch solution, not a Debian/Ubuntu one... –  jasonwryan Jul 20 '11 at 1:48
    
archlinux.org/packages/extra/i686/linux_logo is the Arch native package. –  Mark Hudson Feb 7 '13 at 22:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.