From b32c195607bf366ae04ff58244d347e63ae7359f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20Frantzv=C3=A5g=20Karlsmoen?= Date: Sun, 14 Feb 2021 22:34:33 +0100 Subject: [PATCH] Revert "Add Fedora 33 specific checks as a result of crypto policy changes" This reverts commit 1114c25816be8e7e07faab5d9429238e86ee392d. --- reStream.sh | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/reStream.sh b/reStream.sh index ef34d01..8eb6e7d 100755 --- a/reStream.sh +++ b/reStream.sh @@ -89,24 +89,8 @@ while [ $# -gt 0 ]; do done ssh_cmd() { - OS="" - VER="" - echo "[SSH]" "$@" >&2 - - if [ -f /etc/os-release ]; then - . /etc/os-release - OS=$NAME - VER=$VERSION_ID - fi - - if [ "$OS" == "Fedora" ]; then - if [ "$VER" == "33" ]; then - ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "remarkable" "$@" - fi - else - ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "root@$remarkable" "$@" - fi + ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "root@$remarkable" "$@" } # SSH_CONNECTION is a variable on reMarkable => ssh '' instead of ssh ""