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

看板DFBSD_commit作者時間14年前 (2011/12/28 02:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1E-WYo9Q (DFBSD_commit)