mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-05-09 12:22:55 +00:00
Merge pull request #1078 from balena-io/shellcheck-entry-cleanup
entry.sh: conform to shellcheck syntax
This commit is contained in:
commit
d5f6b903b4
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"
|
export DBUS_SYSTEM_BUS_ADDRESS="unix:path=/mnt/root/run/dbus/system_bus_socket"
|
||||||
|
|
||||||
# Include self-signed CAs, should they exist
|
# 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
|
if [ ! -e '/etc/ssl/certs/balenaRootCA.pem' ]; then
|
||||||
mkdir -p /usr/local/share/ca-certificates
|
mkdir -p /usr/local/share/ca-certificates
|
||||||
echo "${BALENA_ROOT_CA}" > /usr/local/share/ca-certificates/balenaRootCA.crt
|
echo "${BALENA_ROOT_CA}" > /usr/local/share/ca-certificates/balenaRootCA.crt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user