Revert "Add Fedora 33 specific checks as a result of crypto policy changes"
This reverts commit 1114c25816be8e7e07faab5d9429238e86ee392d.
This commit is contained in:
parent
2d1536557c
commit
b32c195607
18
reStream.sh
18
reStream.sh
@ -89,24 +89,8 @@ while [ $# -gt 0 ]; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
ssh_cmd() {
|
ssh_cmd() {
|
||||||
OS=""
|
|
||||||
VER=""
|
|
||||||
|
|
||||||
echo "[SSH]" "$@" >&2
|
echo "[SSH]" "$@" >&2
|
||||||
|
ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "root@$remarkable" "$@"
|
||||||
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_CONNECTION is a variable on reMarkable => ssh '' instead of ssh ""
|
# SSH_CONNECTION is a variable on reMarkable => ssh '' instead of ssh ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user