Rework aes detection
This commit is contained in:
parent
b645d1f106
commit
ef67fc87b1
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue