Skip to content

Commit

Permalink
Merge pull request snaptec#1080 from seb585/master
Browse files Browse the repository at this point in the history
init some psa SoC values
  • Loading branch information
benderl authored Feb 19, 2021
2 parents 89f845b + 7418b01 commit e0949e9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions runs/updateConfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1677,6 +1677,16 @@ updateConfig(){
echo "myopel_clientidlp2=ID" >> $ConfigFile
echo "myopel_clientsecretlp2=Secret" >> $ConfigFile
fi
if ! grep -Fq "psa_userlp1=" $ConfigFile; then
echo "psa_userlp1=User" >> $ConfigFile
echo "psa_passlp1=Pass" >> $ConfigFile
echo "psa_clientidlp1=ID" >> $ConfigFile
echo "psa_clientsecretlp1=Secret" >> $ConfigFile
echo "psa_userlp2=User" >> $ConfigFile
echo "psa_passlp2=Pass" >> $ConfigFile
echo "psa_clientidlp2=ID" >> $ConfigFile
echo "psa_clientsecretlp2=Secret" >> $ConfigFile
fi
if ! grep -Fq "soc_eq_client_id_lp1=" $ConfigFile; then
echo "soc_eq_client_id_lp1=ID" >> $ConfigFile
echo "soc_eq_client_secret_lp1=Secret" >> $ConfigFile
Expand Down Expand Up @@ -1713,6 +1723,12 @@ updateConfig(){
if ! grep -Fq "myopel_soccalclp2=" $ConfigFile; then
echo "myopel_soccalclp2=0" >> $ConfigFile;
fi
if ! grep -Fq "psa_soccalclp1=" $ConfigFile; then
echo "psa_soccalclp1=0" >> $ConfigFile;
fi
if ! grep -Fq "psa_soccalclp2=" $ConfigFile; then
echo "psa_soccalclp2=0" >> $ConfigFile;
fi
if ! grep -Fq "wr1extprod=" $ConfigFile; then
echo "wr1extprod=0" >> $ConfigFile
fi
Expand Down

0 comments on commit e0949e9

Please sign in to comment.