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

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


commit b3535048fd5297736a0a3b78ef30ae642c16f8ea
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/b3535048fd5297736a0a3b78ef30ae642c16f8ea


-- 
DragonFly BSD source repository



More information about the Commits mailing list