Rework aes detection
This commit is contained in:
parent
b645d1f106
commit
ef67fc87b1
@ -89,8 +89,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
local_aes=$(/usr/bin/grep -m1 -o aes /proc/cpuinfo)
|
local_aes=$(/usr/bin/grep -m1 -o aes /proc/cpuinfo | uniq)
|
||||||
remote_aes=$($ssh $source $sshport "/usr/bin/grep -m1 -o aes /proc/cpuinfo")
|
remote_aes=$($ssh $source $sshport "/usr/bin/grep -m1 -o aes /proc/cpuinfo | uniq")
|
||||||
|
|
||||||
|
|
||||||
if [[ $local_aes == "aes" ]] && [[ $remote_aes == "aes" ]]; then
|
if [[ $local_aes == "aes" ]] && [[ $remote_aes == "aes" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user