mirror of https://github.com/Icinga/icinga2.git
parent
7c5d646fd3
commit
44193f341e
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
|
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
|
||||||
|
|
||||||
source $ICINGA2PKIDIR/pkifuncs
|
source $ICINGA2PKIDIR/pkifuncs
|
||||||
|
|
||||||
check_pki_dir
|
check_pki_dir
|
||||||
|
|
||||||
if [ $(ls -1 -- $ICINGA_CA | wc -l) != 0 ]; then
|
if [ `ls -1 -- $ICINGA_CA | wc -l` != 0 ]; then
|
||||||
echo "The Icinga CA directory must be empty." >&2
|
echo "The Icinga CA directory must be empty." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
|
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
|
||||||
|
|
||||||
source $ICINGA2PKIDIR/pkifuncs
|
source $ICINGA2PKIDIR/pkifuncs
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
|
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
|
||||||
ICINGA2CONFIG=@CMAKE_INSTALL_FULL_SYSCONFDIR@/icinga2
|
ICINGA2CONFIG=@CMAKE_INSTALL_FULL_SYSCONFDIR@/icinga2
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
|
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
|
||||||
|
|
||||||
source $ICINGA2PKIDIR/pkifuncs
|
source $ICINGA2PKIDIR/pkifuncs
|
||||||
|
|
Loading…
Reference in New Issue