onerng verification only needs to be confirmed once
This commit is contained in:
parent
75526360ff
commit
c1d5dbe97a
|
@ -4739,6 +4739,9 @@ function enable_zram {
|
|||
}
|
||||
|
||||
function check_onerng_verification {
|
||||
if grep -Fxq "check_onerng_verification" $COMPLETION_FILE; then
|
||||
return
|
||||
fi
|
||||
if [[ $HWRNG_TYPE != "onerng" ]]; then
|
||||
return
|
||||
fi
|
||||
|
@ -4755,6 +4758,7 @@ function check_onerng_verification {
|
|||
echo 'OneRNG firmware verification passed'
|
||||
# if haveged was previously installed then remove it
|
||||
apt-get -y remove haveged
|
||||
echo 'check_onerng_verification' >> $COMPLETION_FILE
|
||||
}
|
||||
|
||||
function install_onerng {
|
||||
|
|
Loading…
Reference in New Issue