mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-20 09:46:19 +00:00
entry.sh: conform to shellcheck syntax
Change-type: patch Signed-off-by: Matthew McGinn <matthew@balena.io>
This commit is contained in:
parent
b487408a18
commit
cda39ab9e1
2
entry.sh
2
entry.sh
@ -46,7 +46,7 @@ fi
|
||||
export DBUS_SYSTEM_BUS_ADDRESS="unix:path=/mnt/root/run/dbus/system_bus_socket"
|
||||
|
||||
# Include self-signed CAs, should they exist
|
||||
if [ ! -z "${BALENA_ROOT_CA}" ]; then
|
||||
if [ -n "${BALENA_ROOT_CA}" ]; then
|
||||
if [ ! -e '/etc/ssl/certs/balenaRootCA.pem' ]; then
|
||||
mkdir -p /usr/local/share/ca-certificates
|
||||
echo "${BALENA_ROOT_CA}" > /usr/local/share/ca-certificates/balenaRootCA.crt
|
||||
|
Loading…
x
Reference in New Issue
Block a user