diff options
author | Simon Rettberg | 2020-12-08 14:18:24 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-12-08 14:18:24 +0100 |
commit | 3b0fe091d8eacd5fe94e24c46fd211f60e7699e7 (patch) | |
tree | cd3fe23d5ef8c00d956206849b2a42029591e658 /core/modules/init-bwlp | |
parent | [rootfs-stage31] Move SSL hook to pre-switchroot (diff) | |
download | mltk-3b0fe091d8eacd5fe94e24c46fd211f60e7699e7.tar.gz mltk-3b0fe091d8eacd5fe94e24c46fd211f60e7699e7.tar.xz mltk-3b0fe091d8eacd5fe94e24c46fd211f60e7699e7.zip |
[init-bwlp] Fix path
Diffstat (limited to 'core/modules/init-bwlp')
-rw-r--r-- | core/modules/init-bwlp/data/inc/pre-switchroot.d/50-install-certificates | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/init-bwlp/data/inc/pre-switchroot.d/50-install-certificates b/core/modules/init-bwlp/data/inc/pre-switchroot.d/50-install-certificates index 0b4e74bd..3a6eea8d 100644 --- a/core/modules/init-bwlp/data/inc/pre-switchroot.d/50-install-certificates +++ b/core/modules/init-bwlp/data/inc/pre-switchroot.d/50-install-certificates @@ -1,10 +1,10 @@ #!/bin/ash # $FUTURE_ROOT - root dir of final stage 4 (config.tgz extracted to here) -# $CONFIG - current path to /opt/openslx/config (changes to this end up in stage 4) # Set up SSL communication with server if [ -d "${FUTURE_ROOT}/opt/openslx/ssl" ] && ! rmdir "${FUTURE_ROOT}/opt/openslx/ssl"; then + CONFIG="${FUTURE_ROOT}/opt/openslx/config" # Copy certs and symlinks to CA path cp -a "${FUTURE_ROOT}"/opt/openslx/ssl/* "${FUTURE_ROOT}/etc/ssl/certs/" # Append to combined ca bundle |