From 08bb9cd9058251669e31949ac2d7c97495c3a002 Mon Sep 17 00:00:00 2001 From: Sylvain Huguet Date: Sun, 17 Mar 2024 11:06:07 +0000 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index db6f45c..a284cb9 100644 --- a/README.md +++ b/README.md @@ -9,16 +9,16 @@ Because of the way OpenConnect works with the particular Global Protect VPN endpoint I'm using (requires a 2FA auth based on an Okta prompt) I actually didn't put the connection script in the container image itself. -Instead I just put a generic entrypoint shell script in there that does nothing. -I pre-loaded the binaries for TOTP creation and the openconnect client in the -image. +Instead I just put a generic entrypoint shell script in there that does +nothing. I pre-loaded the binaries for TOTP creation and the openconnect +client in the image. -Then I bind-mount a shell script from a /mnt/data dir. +Then I bind-mount a shell script from a `/mnt/data` sub-directory (so it persists +across upgrades). And finally I overload the command at runtime to execute that script instead of the built-in info-message/generic entrypoint script. - ## Usage: Edit `connect-example.sh` to match your needs (or create a different