On Tue, Mar 23, 2010 at 9:04 AM, Brian Hutchinson <b.hutch...@gmail.com> wrote:
> Thanks to everyone for the great suggestions!
>
> Since I'm new at going this deep into shell debugging (and almost
> never on a embedded target) I'll have to check out each of these
> suggestions as I've never heard of some of them.
>
> Is it possible to start preinit with -x and redirect the output to the
> console or network?  I have minicom running on the serial port and see
> some of the echo statements in the script ... I just don't see the -x
> debug info I was hoping to see.
>

If preinit is called with "/bin/sh preinit.sh" it would ignore the -x.
Put "set -x" as the second line, unless -x is disabled in our version
of busybox (I don't remember). If that doesn't start spamming the crap
out of your terminal I guess you have to use the other suggestions.

You can also add set -x/set +x to turn the spamming on and off so your
not rapped by the entire boot sequence.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to