1
0
mirror of https://github.com/falk-werner/webfuse synced 2026-03-02 03:40:24 +00:00

allow to specify path, url and authentication token via command line

This commit is contained in:
Falk Werner
2023-02-04 09:36:37 +01:00
parent a83fcd7260
commit b55ae45018
2 changed files with 22 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
AUTH_TOKEN="$1"
if [[ "$AUTH_TOKEN" == "user:bob;token=foo" ]]
if [[ "$AUTH_TOKEN" == "simple_token" ]]
then
echo "$(date): webfuse: auth granted: $AUTH_TOKEN" >> /tmp/webfuse_auth.log
else