git: rc: Move stop_boot() from rc.d/fsck to rc.subr and improve it

Aaron LI aly at crater.dragonflybsd.org
Fri Jun 21 09:33:09 PDT 2019


commit 6f37e8f4fe831d27172ba2edd4c2a231e05315bc
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Jun 21 23:59:37 2019 +0800

    rc: Move stop_boot() from rc.d/fsck to rc.subr and improve it
    
    Move the stop_boot() function from rc.d/fsck to rc.subr, since we will
    use it in other rc.d scripts.  This follows what FreeBSD does.
    
    Improve the stop_boot() function by bringing in the FreeBSD's version.
    
    Minor cleanups.

Summary of changes:
 etc/rc.d/fsck | 16 ++--------------
 etc/rc.subr   | 31 ++++++++++++++++++++++++++++++-
 2 files changed, 32 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6f37e8f4fe831d27172ba2edd4c2a231e05315bc


-- 
DragonFly BSD source repository


More information about the Commits mailing list