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

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


From: Chris Turner <cat@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Sep 2012 06:17:49 -0700 (PDT)

commit e2c596b1a494dc77d2e42a43f4bd5ad414d20320
Author: Chris Turner <c.turner@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@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



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