Closed ntadmin closed 7 years ago
INIT_SCRIPT is only set in the code if it hasn't already been set. So, if we can set this from the make command, then all is good. this can be done by modifying our packages Makefile: https://github.com/ntadmin/DGND3700v2/commit/e72d8ce745d94dddf6f64b32d4c38d31f23d50dc
The other lines:
ls -al of the relevant /dev entries:
crw-r--r-- 1 root root 5, 1 Jul 18 15:11 console
crw-r--r-- 1 root root 5, 0 May 13 2010 tty
crw-r--r-- 1 root root 4, 0 May 13 2010 tty0
crw-r--r-- 1 root root 4, 1 May 13 2010 tty1
crw-r--r-- 1 root root 4, 64 Jan 1 1970 ttyS0
crw-r--r-- 1 root root 4, 65 May 13 2010 ttyS1
Key question: what happens if we get the /dev things wrong?
OK, busybox now has the init script correct in it, it seems to point to /usr/etc/rcS. How to tell if it works?
Tested and it now boots with only the updated busybox in it.
diff for init.c (1.13.4 vs 1.13.4 Netgear modded), as this seems likely to trash boot up ...
Seems to: