I'm trying to realize a "diag.sh" file for signaling the router state
via led flashing.
My problem is, that when I try to read out the file "/proc/cpuinfo",
I get an error on serial console, that there is no file cpuinfo.
The failure is caused, because proc is not mounted at this very first
time of "set_state preinit"
A look in base-files - lib/preinit shows:
10_check_for_mtd
10_essential_fs
10_indicate_failsafe
10_indicate_preinit
that "10_essential_fs", which is mounting proc
and "10_indicate_preinit" have the same numbering and in my case, they
are executed in the wrong order.
Maybe it would be a good idea to rename them like this:
09_check_for_mtd
09_essential_fs
10_indicate_failsafe
10_indicate_preinit
Comments?
mrk
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel