Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: halma on July 21, 2014, 07:30:36 AM

Title: replacement for "update-rc"
Post by: halma on July 21, 2014, 07:30:36 AM
Hi

what is the replacement under Tinycorelinux for "update-rc" ?
I mean i need to 3 init scripts, placed under "/etc/init.d/xen*", for xen while tinycorelinux is booting up.

Best Regards
Halma
Title: Re: replacement for "update-rc"
Post by: halma on July 21, 2014, 07:40:38 AM
is it /opt/bootlocal.sh
and fill  in the init / start commands there ?
like:

/etc/init.d/xencommons start

or thats not the way ?

Best Regards
Halma
Title: Re: replacement for "update-rc"
Post by: Juanito on July 21, 2014, 07:57:57 AM
It depends on what you're trying to do:

* for something that starts with Xvesa, Xfbdev, Xorg use ~/.X.d
* for an extension specific daemons use /usr/local/etc/init.d not /etc/init.d
* start extension specific daemons manually or from /opt/bootlocal.sh
Title: Re: replacement for "update-rc"
Post by: halma on July 21, 2014, 08:05:21 AM
hi Juanito

the standard init/deamon scripts for XEN are placed under /etc/init.d and i need to start the init/deamon at bootup.

Ok , then i also need to fix this, placing the init/deamon scripts under /usr/local/etc/init.d .

Thanks a lot
Best Regards
Halma
Title: Re: replacement for "update-rc"
Post by: Juanito on July 21, 2014, 08:08:37 AM
If you compiled xen with "--prefix=/usr/local" it would normally place the init scripts in /usr/local/etc/init.d - perhaps you also need "--sysconfigdir=/usr/local/etc"?