Blame SOURCES/cpio-2.9.90-defaultremoteshell.patch

0ce6cf
From: =?UTF-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= <ovasik@redhat.com>
0ce6cf
Date: Mon, 14 Sep 2015 09:39:13 +0200
0ce6cf
Subject: [PATCH 4/7] define default remote shell as /usr/bin/ssh(#452904), use
0ce6cf
 /etc/rmt as default rmt command
0ce6cf
0ce6cf
diff --git a/lib/rtapelib.c b/lib/rtapelib.c
0ce6cf
index 7213031..7d0bd52 100644
0ce6cf
--- a/lib/rtapelib.c
0ce6cf
+++ b/lib/rtapelib.c
0ce6cf
@@ -59,6 +59,10 @@
0ce6cf
 # include <netdb.h>
0ce6cf
 #endif
0ce6cf
 
0ce6cf
+#ifndef REMOTE_SHELL
0ce6cf
+# define REMOTE_SHELL "/usr/bin/ssh"
0ce6cf
+#endif
0ce6cf
+
0ce6cf
 #include <rmt.h>
0ce6cf
 #include <rmt-command.h>
0ce6cf