git: hammer(8): add HAMMER_RSH environment variable support.

Chris Turner cat at crater.dragonflybsd.org
Wed Sep 12 06:17:49 PDT 2012


commit e2c596b1a494dc77d2e42a43f4bd5ad414d20320
Author: Chris Turner <c.turner at 199technologies.com>
Date:   Wed Sep 12 13:11:31 2012 +0000

    hammer(8): add HAMMER_RSH environment variable support.
    
    Add support for a HAMMER_RSH environment variable which can be used
    to select an alternate remote shell to be used for hammer remote operations,
    change remote shell invocation to rsh(1) style '-l user host' instead of
    ssh-style user at host to permit usage of rsh(1) as an alternate HAMMER_RSH
    without the need for a wrapper script. Also change exec call of subshell
    to use execvp instead of a hardcoded path to facillitate this change.
    
    Update hammer.8 docs, along with minor formatting fix to environment
    variable summary header sentence.

Summary of changes:
 sbin/hammer/cmd_mirror.c |   67 +++++++++++++++++++++++++++++++++++++---------
 sbin/hammer/hammer.8     |   21 ++++++++++++--
 2 files changed, 72 insertions(+), 16 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list