git: rcrun(8): Teach rcstart, rcstop and friends to handle other rc dirs.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Dec 1 09:19:44 PST 2011


commit faee0ee7f28d9d1315a037614c4720522ee1e63f
Author: Sascha Wildner <saw at online.de>
Date:   Thu Dec 1 18:15:49 2011 +0100

    rcrun(8): Teach rcstart, rcstop and friends to handle other rc dirs.
    
    This commit makes rcrun(8) and its various incarnations work also with
    rc scripts that are in either /usr/pkg/etc/rc.d or /usr/local/etc/rc.d
    (the paths in rc.conf's local_startup, actually).
    
    While here, do some cleanup:
    
    * Remove some unneeded 'cd' commands (rcorder as we call it will already
      give the full path to the script)
    
    * Remove extra whitespace at the end of the file
    
    * Add a copyright.

Summary of changes:
 sbin/rcrun/rcrun.sh |   70 +++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 57 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/faee0ee7f28d9d1315a037614c4720522ee1e63f


-- 
DragonFly BSD source repository





More information about the Commits mailing list