WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: bootlocal.sh & .X.d  (Read 1616 times)

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
bootlocal.sh & .X.d
« on: December 17, 2015, 07:14:29 AM »
I've a question regard this two entry points.

Do i understand correctly, that bootlocal sh executes before (and maybe even while) X comes up whereas all the entries in .X.d are started after X came up?

So, in this moment, my bootlocal.sh is empty, while i start from .X.d tor and polipo and also cups (the other entries are conky, xscreensaver, spideroak, volumeicon - which clearly presume X). My question is: Would it be more reasonable to put tor, polipo and cupsd into bootlocal.sh?

Thanks a lot for your patience!

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: bootlocal.sh & .X.d
« Reply #1 on: December 17, 2015, 07:59:00 AM »
Anything that has an /usr/local/etc/init.d startup script should be started in bootlocal.sh.

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: bootlocal.sh & .X.d
« Reply #2 on: December 17, 2015, 08:14:41 AM »
So, cups has to go to bootlocal.sh, while tor and polipo should remain in .X.d ... (?) Btw, bootlocal.sh is executed by root or by user?

Thanks a lot!

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: bootlocal.sh & .X.d
« Reply #3 on: December 17, 2015, 02:38:28 PM »
bootlocal.sh is run by root before any login.
Unless it is an X program, it should probably be run from bootlocal.sh