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

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Nov 23 03:37:13 PST 2014


commit 22a66205917c9c2f46a7f89b5dafee2f5c1b2e8d
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/22a66205917c9c2f46a7f89b5dafee2f5c1b2e8d


-- 
DragonFly BSD source repository



More information about the Commits mailing list