[PLUG] start shell directly from init?

Galen Seitz galens at seitzassoc.com
Sat Nov 23 08:23:01 UTC 2002


Thanks to everyone for your help.  I should have told you that I was
trying to save space by eliminating getty and login entirely.  Also, I was
trying to avoid having to create a new program.  Alas, with those 
constraints, I'm not sure it is possible.  Here's the best I could 
come up with.  This at least eliminates login.

In inittab:
T0:23:respawn:/sbin/agetty -f /etc/issue.galens -l /bin/direct -n \
38400 ttyS0 vt100

In /bin/direct:
#!/bin/sh
exec -cl /bin/bash


thanks again,
galen






More information about the PLUG mailing list