How to change order of start scripts?

Josef Wolf jw at raven.inka.de
Sun Sep 14 11:15:08 UTC 2008


On Sun, Sep 14, 2008 at 01:10:39PM +0200, Josef Wolf wrote:
> Hello,
> 
> I have installed vdr and lirc on gutsy.  Most of the things seem to work,
> but the order of the start scripts is reversed:

s/gutsy/hardy/

Sorry for the confusion!

>   jw at vdr1:/home/jw$ ls /etc/rc3.d/*lirc /etc/rc3.d/*vdr|cat
>   /etc/rc3.d/S20vdr
>   /etc/rc3.d/S51lirc
>   jw at vdr1:/home/jw$ 
> 
> At the time vdr starts up, lirc is not available and vdr fails to use
> the remote control.
> 
> I know I can change the order by simply renaming the symlinks in
> /etc/rc?.d.  But I would like to use the "official" way to do this.
> It looks like the comments at the beginning of the start scripts
> are used to determine the order of script execution, but I can't
> figure out how this system works.  AFAIK, there were significant
> changes along the transition from sysvinit to upstart.
> 
> Any hints how to properly change start script order?




More information about the ubuntu-users mailing list