Update install_elog.sh
Run CI Tests / test (push) Successful in 1m46s

This commit is contained in:
2025-08-14 14:56:29 +02:00
parent 9d28f28c3b
commit bc925b53b4
+3 -5
View File
@@ -21,9 +21,7 @@ mkdir -p "$LOGBOOK_DIR"
chmod -R 775 "$INSTANCE_DIR"
# --- 3) Global passwords ---
# ELOG expects base64-encoded strings in config for global passwords
# "testpassword" -> echo -n testpassword | base64
PW_B64="testpassword"
PASSWORD="me1T.2jUUqQNa1wNuey9zNBOmOa4eILOaPb.ZSZjpn4"
# --- 4) Write config ---
cat > "$INSTANCE_DIR/elogd.cfg" <<EOF
@@ -42,8 +40,8 @@ Subdir = demo
Preset Author = robot
# Auth for write/admin only
Write password=$PW_B64
Admin password=$PW_B64
Write password=$PASSWORD
Admin password=$PASSWORD
# Guests can read freely
Guest menu commands = List, Find, Last 10, Help