Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Raspberry Pi port,
piCore-15.0
is available!
Home
Help
Login
Register
Tiny Core Linux
»
General TC
»
General TC Talk
»
Where is script that extracts mydata.tgz?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Where is script that extracts mydata.tgz? (Read 2558 times)
SunBurnt
Full Member
Posts: 102
Where is script that extracts mydata.tgz?
«
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?
Logged
Rich
Administrator
Hero Member
Posts: 11694
Re: Where is script that extracts mydata.tgz?
«
Reply #1 on:
August 07, 2011, 06:49:08 PM »
Hi SunBurnt
Look in /etc/init.d/tc-config and tc-functions.
Logged
hiro
Hero Member
Posts: 1229
Re: Where is script that extracts mydata.tgz?
«
Reply #2 on:
August 07, 2011, 06:52:45 PM »
IIRC /init > /sbin/init > /etc/inittab (sysinit:/etc/init.d/rcS) > /etc/init.d/tc-config
Have fun
//corrected
«
Last Edit: August 07, 2011, 07:12:07 PM by hiro
»
Logged
Rich
Administrator
Hero Member
Posts: 11694
Re: Where is script that extracts mydata.tgz?
«
Reply #3 on:
August 07, 2011, 06:57:52 PM »
And /etc/init.d/rcS is a link that points to /etc/init.d/tc-config
Logged
SunBurnt
Full Member
Posts: 102
Re: Where is script that extracts mydata.tgz?
«
Reply #4 on:
August 07, 2011, 07:16:22 PM »
/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!
Logged
Rich
Administrator
Hero Member
Posts: 11694
Re: Where is script that extracts mydata.tgz?
«
Reply #5 on:
August 07, 2011, 07:25:27 PM »
Hi SunBurnt
Init is a function provided by busybox, it reads /etc/inittab to find out where the start up script is.
Logged
SunBurnt
Full Member
Posts: 102
Re: Where is script that extracts mydata.tgz?
«
Reply #6 on:
August 07, 2011, 07:32:58 PM »
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
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
General TC
»
General TC Talk
»
Where is script that extracts mydata.tgz?