On Thu, Mar 1, 2012 at 1:26 AM, Jason Heeris <jason.hee...@gmail.com> wrote:
> On 1 March 2012 14:22, Bob Proulx <b...@proulx.com> wrote:
>>>
>>> If it's static, you can add it to "/etc/issue".
>>
>> Or if the process can update /etc/issue before getty can display it.
>
> rc.local appears to run before the contents of /etc/issue is
> displayed... is that guaranteed (in squeeze), or just coincidental on
> my system? Because that would be the simplest way to achieve this, I
> think.
>
> Incidentally, it contains escape sequences ( \n \l ) at the end. Are
> they for use with "echo -e" or something else entirely?

"/etc/issue" is displayed after "/etc/rc.local" is called.

The escapes are getty "shortcuts" (I'm not sure what the
real/technical name is); "\n" is the hostname, "\l" is the tty.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=syja7rgaxdm3d+u3ahwin75mutc9urlmkahz6fz0kp...@mail.gmail.com

Reply via email to