Jeremy,
Thanks. I see that ctrlaltdel is an unique inittab
command/action. The manual decribes action as
something that should be taken, which was confusing.
I think I fully understand whats going on now.
Thanks again for helping me understand whats going on
better.
Marshall
--- "Jeremy C. Reed" <
reed@reedmedia.net> wrote:
> On Mon, 30 Aug 2004, Marshall Paul wrote:
>
> > command. My real goal was to break down each
> element
> > of this command string and understand it.
> > ca::ctrlaltdel:/sbin/shutdown -t5 -h -a now I
> fully
> > understand the shutdown command but do not
> understand
> > the ca::ctrlaltdel: portion and could not find
> > documentation on it. I can only assume out of my
> > ignorance that ca captures keyboard strokes and ::
> if
> > equal to ctrlaltdel executes what follows the :.
> If
>
> The first "ca" is the unique inittab id. I assume
> you could just name it
> anything else instead (one to four characters).
>
> The :: (colon followed by colon) just means there is
> no "runlevel". It is
> blank; it is empty.
>
> The ctrlaltdel part (which is the action part) just
> means that init
> receives the SIGINT signal. (I assume this is
> handled by the kernel: the
> kernel recognized the keystroke and sends the SIGINT
> singal to init
> (process id 1)).
>
> > that is so what number represents ctrlaltdel and
> how
> > is it derived? Can the the raw (HEX code)number
> be
> > substituted for ctrlaltdel?
>
> No.
>
> See the inittab man page.
>
> Then maybe look in kernel source to choose your
> CTRL-ALT-DELETE behaviour.
>
> Jeremy C. Reed
>
> BSD News, BSD tutorials, BSD links
> http://www.bsdnewsletter.com/
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail
> settings:
>
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss