diff options
Diffstat (limited to 'base')
-rwxr-xr-x | base/silent/templates/pki_silent.template | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/silent/templates/pki_silent.template b/base/silent/templates/pki_silent.template index 27e4ae77f..10b95cec2 100755 --- a/base/silent/templates/pki_silent.template +++ b/base/silent/templates/pki_silent.template @@ -54,6 +54,10 @@ if [ "${MY_UID}" != "${ROOTUID}" ] && exit 255 fi +if [ -z "${HOME}" ]; then + printf "ERROR: The 'HOME' environment variable must be set!\n" + exit 255 +fi ############################################################################## @@ -78,7 +82,7 @@ fi ## PKI Silent Security Database Variables ## (e. g. - PKI Silent "browser" database) -pki_silent_security_database_repository="/tmp" +pki_silent_security_database_repository="${HOME}/.pki/certs" pki_silent_security_database_password= ## PKI Security Domain Variables |