begin to remove support for backing up to remote hosts

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-01-15 02:04:31 +01:00
parent e39e53d0fb
commit d2cd0c48f3

View file

@ -88,16 +88,6 @@ add_name()
awk "{ print \"[${name}] \" \$0 }"
}
#
# Prepend "ssh ${remote_host}", if backing up to a remote host
#
pcmd()
{
[ "${remote_host}" ] && set -- "ssh" "${remote_host}" "$@"
"$@"
}
#
# ssh-"feature": we cannot do '... read ...; ssh ...; < file',
# because ssh reads stdin! -n does not work -> does not ask for password