Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: emninger on December 17, 2015, 07:14:29 AM

Title: bootlocal.sh & .X.d
Post by: emninger 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!
Title: Re: bootlocal.sh & .X.d
Post by: gerald_clark 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.
Title: Re: bootlocal.sh & .X.d
Post by: emninger 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!
Title: Re: bootlocal.sh & .X.d
Post by: gerald_clark 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