Use /bin/sh instead of bash.

Refs #6002
This commit is contained in:
Gunnar Beutner 2014-04-13 17:15:55 +02:00
parent 7c5d646fd3
commit 44193f341e
4 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
#!/bin/bash
#!/bin/sh
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
source $ICINGA2PKIDIR/pkifuncs
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
exit 1
fi

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
source $ICINGA2PKIDIR/pkifuncs

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
ICINGA2CONFIG=@CMAKE_INSTALL_FULL_SYSCONFDIR@/icinga2

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
ICINGA2PKIDIR=@CMAKE_INSTALL_FULL_DATADIR@/icinga2/pki
source $ICINGA2PKIDIR/pkifuncs