WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Boot sequence tc / mc - tc-config the only difference?  (Read 2863 times)

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Boot sequence tc / mc - tc-config the only difference?
« on: June 11, 2009, 04:59:51 PM »
I think I can now follow the tinycore boot sequence:

init -> inittab -> init.d/rcS -> tc-config -> init -> /root/.profile -> /home/tc/.profile -> /usr/bin/startx  -> ( xsetup.sh) -> /home/tc/.xsession -> Xvesa, jwm & wbar
                                                                                                                                
It looks like microcore follows the same boot sequence as tc and everything downstream of tc-config execution is the same as tinycore. Is this basically correct? Of course there are tests along the way to avoid starting up the X environment based on a variety of "status states".
« Last Edit: June 11, 2009, 07:03:50 PM by bigpcman »
big pc man

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Re: Boot sequence tc / mc - tc-config the only difference?
« Reply #1 on: June 11, 2009, 10:08:10 PM »
Building upon my previous post I'm wondering why the following difference in code is necessary between tc and mc in tc-config? I'm trying to dig in deeper little by little.

Code: [Select]
[tc]
echo "$USER" > /etc/sysconfig/tcuser
if [ -n "$SUPERUSER" ]; then
   touch /etc/sysconfig/superuser
else
   sed -i 's/root/'"$USER"'/' /etc/inittab
fi
mkdir -p /home/"$USER"

Code: [Select]
[mc]
echo "$USER" > /etc/sysconfig/tcuser
mkdir -p /home/"$USER"
big pc man

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Boot sequence tc / mc - tc-config the only difference?
« Reply #2 on: June 11, 2009, 10:31:56 PM »
I am preparing for future capabilites. Not currently recognized. No harm. No foul.
10+ Years Contributing to Linux Open Source Projects.

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Re: Boot sequence tc / mc - tc-config the only difference?
« Reply #3 on: June 11, 2009, 10:38:51 PM »
I am preparing for future capabilites. Not currently recognized. No harm. No foul.

... and they will be wonderful !
big pc man