git: DragonFly_RELEASE_5_4 rc.subr: Fix breakage in the rcrun(8) scripts.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Jan 10 11:03:02 PST 2019


commit 868037e5b8f86d0f0456208a7f72e78d7c0b8d68
Author: Sascha Wildner <saw at online.de>
Date:   Thu Jan 10 19:55:49 2019 +0100

    rc.subr: Fix breakage in the rcrun(8) scripts.
    
    0e7badd402459228d38ddfb0e06224b5a3d9fdf8 added an early exit to
    rc.subr to avoid sourcing it again. However, some DragonFly bits
    in rc.conf are specific to the rc.d script that rc.subr is sourced
    from, specifically the contents of the $provide_list variable. The
    result was that the varsym variables that rcstart(8) et al. use to
    track dependency states were not get set.
    
    Put the setup of $provide_list before the early exit.

Summary of changes:
 etc/rc.subr | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/868037e5b8f86d0f0456208a7f72e78d7c0b8d68


-- 
DragonFly BSD source repository



More information about the Commits mailing list