WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: replacement for "update-rc"  (Read 1871 times)

Offline halma

  • Full Member
  • ***
  • Posts: 164
replacement for "update-rc"
« 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
« Last Edit: July 21, 2014, 07:35:48 AM by halma »
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Offline halma

  • Full Member
  • ***
  • Posts: 164
Re: replacement for "update-rc"
« Reply #1 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
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: replacement for "update-rc"
« Reply #2 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

Offline halma

  • Full Member
  • ***
  • Posts: 164
Re: replacement for "update-rc"
« Reply #3 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
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: replacement for "update-rc"
« Reply #4 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"?