aboutsummaryrefslogtreecommitdiffstats
path: root/bin/base/application.sh
blob: cb7db0890b666067a65d6f1afa57117de0fcab0f (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash


# This script receives 2 arguments
applicationlibrary=$1
SoftHSMv2SlotID=$2

# Setting up the pkcs11 config file
echo "library = ${applicationlibrary}" >> /opt/app/osaaf/local/org.osaaf.aaf.cm.pkcs11
echo "slot = ${SoftHSMv2SlotID}" >> /opt/app/osaaf/local/org.osaaf.aaf.cm.pkcs11