Tiny Core Linux
General TC => General TC Talk => Topic started by: SunBurnt on August 07, 2011, 06:43:46 PM
-
TC`s init file has almost no code in it, where is the real work being done?
It seems that it must be inside the kernel?
-
Hi SunBurnt
Look in /etc/init.d/tc-config and tc-functions.
-
IIRC /init > /sbin/init > /etc/inittab (sysinit:/etc/init.d/rcS) > /etc/init.d/tc-config
Have fun :)
//corrected
-
And /etc/init.d/rcS is a link that points to /etc/init.d/tc-config
-
/sbin/init is a link pointing to BusyBox, so then BusyBox runs /etc/init.d/rcS ?
Very good guys, many thanks for the important info!
-
Hi SunBurnt
Init is a function provided by busybox, it reads /etc/inittab to find out where the start up script is.
-
Yep... And the first line of inittab calls /etc/init.d/rcS , I`ve looked at inittab files before.
I still don`t understand how it does what it`s doing, but I do see what`s being done.
Thanks Rich and hiro... Terry