Post Reply 
WD MyCloud and Minimserver
09-02-2018, 15:36
Post: #56
RE: WD MyCloud and Minimserver
This command (specifying SS=85 and KK=15) is working for you because the WD MyCloud has a /etc/init.d/.legacy-bootordering file. I tried the same command on a Debian system that uses dependency-based boot sequencing and it created all the links as S01 and K01. With dependency-based boot sequencing, it isn't possible to specify absolute SS and KK numbers but it is possible to specify $all in the service file to force the service to start last and stop first (presumably suitable for MinimServer).

So a possible approach would be:

Code:
if update-rc.d exists then
    if .legacy-bootordering exists then
        use update-rc.d to create start links as 99 and stop links as 01
    else
        use update-rc.d with $all in the service file
    fi
fi

There is already some special code for certain systems without update-rc.d and I don't propose to change this at present because of the risk of breaking things.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WD MyCloud and Minimserver - wallydaw - 31-03-2015, 12:18
RE: WD MyCloud and Minimserver - Soli - 24-09-2016, 02:12
RE: WD MyCloud and Minimserver - Soli - 21-10-2016, 13:35
RE: WD MyCloud and Minimserver - Soli - 07-04-2017, 20:21
RE: WD MyCloud and Minimserver - Soli - 16-03-2018, 22:06
RE: WD MyCloud and Minimserver - Soli - 15-09-2016, 15:16
RE: WD MyCloud and Minimserver - Soli - 16-09-2016, 02:01
RE: WD MyCloud and Minimserver - Soli - 20-10-2016, 05:49
RE: WD MyCloud and Minimserver - Soli - 21-10-2016, 02:31
RE: WD MyCloud and Minimserver - simoncn - 09-02-2018 15:36

Forum Jump:


User(s) browsing this thread: 2 Guest(s)