git: rc.subr: Add function to find scripts in local_startup directories

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Nov 23 03:00:16 PST 2014


commit 684cb317290aa79db9216c3cd0468ba03868fd67
Author: Robin Hahling <robin.hahling at gw-computing.net>
Date:   Sat Nov 22 13:08:11 2014 +0100

    rc.subr: Add function to find scripts in local_startup directories
    
    * Add 'find_local_scripts()' function which is useful for
    service(8).
    
    * Fix reference to function in service.sh. This fixes two issues in
      service(8) for which 'service -e' and 'service -l' would simply fail
      to list local startup scripts.
    
    'find_local_scripts()' has been imported from FreeBSD, where it is
    called 'find_local_scripts_new()'.

Summary of changes:
 etc/rc.subr                 | 18 ++++++++++++++++++
 usr.sbin/service/service.sh |  4 ++--
 2 files changed, 20 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/684cb317290aa79db9216c3cd0468ba03868fd67


-- 
DragonFly BSD source repository



More information about the Commits mailing list