rcrun(8): Teach rcstart, rcstop and friends to handle other rc dirs.
authorSascha Wildner <saw@online.de>
Thu, 1 Dec 2011 17:15:49 +0000 (18:15 +0100)
committerSascha Wildner <saw@online.de>
Thu, 1 Dec 2011 17:15:49 +0000 (18:15 +0100)
commitfaee0ee7f28d9d1315a037614c4720522ee1e63f
tree3ea97ba0304fe362f1809c7716339342f032ebdc
parent82354ad856881fcddea37e6fbb8dae0a683f2ffb
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.
sbin/rcrun/rcrun.sh