#!/bin/sh

# set remote copy command
if ( test -r /usr/bin/rcp )       # hp /ws30
then
    RCP="/usr/bin/rcp"

elif ( test -r /usr/bsd/rcp )     # iris
then
    RCP="/usr/bsd/rcp"

elif ( test -r /usr/ucb/rcp )     # dec
then
    RCP="/usr/ucb/rcp"

else
    RCP=""
    echo "rcp not found"
fi

export RCP;


# set remote shell command
if ( test -r /usr/bin/remsh )     # hp /ws30
then
    RSH="/usr/bin/remsh"

elif ( test -r /usr/bsd/rsh )     # iris
then
    RSH="/usr/bsd/rsh"

elif ( test -r /usr/ucb/rsh )     # dec
then
    RSH="/usr/ucb/rsh"

else
    RSH=""
    echo "rsh not found"
fi

export RSH;


