On 16/09/2013 20:37, Zeus Panchenko wrote:
> thank you Mathew for soon reply,
> 
> Matthew Seaman <[email protected]> wrote:
>> ... 
>> that package) by adding an additional RC script like so:
>>
>> #!/bin/sh
>> #
>> # Make isc-dhcpd start after slapd
>>
>> # PROVIDE: precedence
>> # REQUIRE: slapd
>> # BEFORE: isc-dhcpd
> 
> I have added it
> 
> :> cat /usr/local/etc/rc.d/1order
> #!/bin/sh
> #
> # Make isc-dhcpd start after slapd
> 
> # PROVIDE: precedence
> # REQUIRE: slapd
> # BEFORE: isc-dhcpd
> 
> 
>>
>> Test the resulting startup order by:
>>   rcorder /etc/rc.d/* /usr/local/etc/rc.d/*
> 
> here the result:
> 
> ...
> /etc/rc.d/yppasswdd
> /usr/local/etc/rc.d/isc-dhcpd
> /usr/local/etc/rc.d/isc-dhcpd6
> /usr/local/etc/rc.d/svnserve
> /etc/rc.d/LOGIN
> /usr/local/etc/rc.d/tinyproxy
> /usr/local/etc/rc.d/svscan
> /usr/local/etc/rc.d/smartd
> /usr/local/etc/rc.d/slapd
> ...
> 
> 
> is it correct?

Hmmm... doesn't look right.  Check what the PROVIDES lines in isc-dhcpd
[*] and slapd actually say -- usually they're the same as the name of
the RC script.  You need to use the PROVIDES token from those files as
the term you match against for REQUIRE or BEFORE.

        Cheers,

        Matthew

[*] It seems isc-dhcpd actually PROVIDES dhcpd rather than isc-dhcpd.
My mistake.  s/isc-dhcpd/dhcpd/g in your 1order script.

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: [email protected]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to