> I've never needed to really get into the startup scripts much but now
> I need to try and understand how the mini_fo union gets set up so I'm
> trying to learn the startup scripts like preinit.

When I ad to fiddle with this part of the code, I'd add some

  echo blabla >>/tmp/mydebug

in those scripts and then read the /tmp/mydebug file (of course, this
only worked in those cases where the boot script did end up setting up
my router in such a way that I was able to log in to look at the damn
file).

Another option might be to send that debug output to the network as is
done in preinit_net_echo and "read" it via tcpdump.


        Stefan

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to