DragonFly BSD
DragonFly commits List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Dec 2011 09:16:35 -0800 (PST)

commit faee0ee7f28d9d1315a037614c4720522ee1e63f
Author: Sascha Wildner <saw@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]