On Sat, Oct 31, 2009 at 10:48:51AM +0100, Bernhard Reutner-Fischer wrote: >On Fri, Oct 30, 2009 at 11:56:13PM +0100, Detlef Vollmann wrote: >>Mike Frysinger wrote: >>>On Thursday 29 October 2009 16:06:54 Detlef Vollmann wrote: >>>>Bernhard Reutner-Fischer wrote: >>>>>I suggest you just run a sh on e.g. ttyS0 if you're debugging and turn >>>>>it off if you're not. My favourite link as a stub: >>>>>http://repo.or.cz/w/buildroot.git?a=blob_plain;f=target/generic/target_bu >>>>>sybox_skeleton/etc/inittab;hb=HEAD >>>>Sorry, I'm probably missing something: >>>>How do you start the shell if you don't have a shell? >>>>This looks to me like a hen-and-egg problem. >>> >>>shell's arent init / process managers. use init. >>Exactly. >>My point was: if I don't start a shell by inittab (because I only >>want it for debugging), then I can't start a shell later... > >huh? >sed -i -e "/^#ttyS0/s/^[#]*//" /etc/inittab && kill -HUP 1
i.e. you listen for some kind of trigger and eventually toggle the debug getty. Whether that trigger comes in via some keyboard-sequence, net port 80/443/22/23, token in nvram, phase of the moon is OT for this list, imo. I'm sure there's plenty of docs out there if you run out of ideas.. HTH, _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
