Re: running at boot time & signals
- From: Lew Pitcher <Lew.Pitcher@xxxxxx>
- Date: Wed, 25 Jan 2006 12:33:40 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kasper Dupont wrote:
> Lew Pitcher wrote:
>> You will want something like
>> #c1:1235:respawn:/sbin/agetty 38400 tty1 linux
>> c1:1235:respawn:/bin/su - username -c /path </dev/tty1 >/dev/tty1 2>&1
>
> I'd rather use a program that was intended for the purpose
> instead of letting init do that redirection. Here is an
> example I have been using in my own inittab:
>
> 1:2345:respawn:/local/bin/open -c 1 -l -w -- /local/sbin/dummy
Thanks, Kasper
I learn something new every day. I hadn't seen the "open" command
before. Where does it come from? AFAICT, Slackware (my distro of choice)
doesn't provide it.
> If getty can be instructed to execute something else
> instead of login, then that would also be a possibility.
Agreed.
- --
Lew Pitcher, IT Specialist, Enterprise Data Systems
Enterprise Technology Solutions, TD Bank Financial Group
(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
iD8DBQFD17ZzagVFX4UWr64RAqbtAKDqPKDSJ43sEXXmINmq49Twou102ACg7slA
PPISfzSNDlUixzfw266MGdY=
=nj5q
-----END PGP SIGNATURE-----
.
- References:
- running at boot time & signals
- From: maria
- Re: running at boot time & signals
- From: Lew Pitcher
- Re: running at boot time & signals
- From: maria
- Re: running at boot time & signals
- From: Lew Pitcher
- running at boot time & signals
- Prev by Date: Re: Serial communication, detecting parity bits
- Next by Date: Re: Serial communication, detecting parity bits
- Previous by thread: Re: running at boot time & signals
- Next by thread: Re: running at boot time & signals
- Index(es):
Relevant Pages
|