[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: Fun with shutdown, halt, and reboot.
From: Rob Landley <rob () landley ! net>
Date: 2006-01-25 20:46:28
Message-ID: 200601251446.29018.rob () landley ! net
[Download RAW message or body]
On Tuesday 24 January 2006 12:41, Roberto A. Foglietta wrote:
> > Is mounting /proc in your embedded system a sufficient remedy for you?
> > (Can we fix this by documenting it?)
>
> I think it should be better a fix like that:
>
> find_pid_by_name("init") +----> yes, signal it
> \
> `--> no, signal proc 1
Ooh, that makes sense. The initrd support becomes a nice if() clause then
that should optimize out nicely. (And the only time we should have to
find_pid_by_name is for linuxrc. If it's called init, it should be pid 1.)
> Cheers,
Thanks, I'll do that tonight.
Rob
--
Steve Ballmer: Innovation! Inigo Montoya: You keep using that word.
I do not think it means what you think it means.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic