aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/shione/srb2kart/generate_dkartconfig.sh
diff options
context:
space:
mode:
authorRenken <renken@shione.net>2024-01-20 21:34:13 +0100
committerRenken <renken@shione.net>2024-05-12 16:49:44 +0200
commit84a5868bc4710aff0fa9b449501e162dace47a30 (patch)
tree345abe13c4497d8f1900a2454f6582be6aaae3a5 /deploy/shione/srb2kart/generate_dkartconfig.sh
parent3474ece326452705f9e08cf8ce558e42dc49c0cb (diff)
downloadshione-84a5868bc4710aff0fa9b449501e162dace47a30.tar.gz
shione-84a5868bc4710aff0fa9b449501e162dace47a30.zip
srb2kart: add admin password
Diffstat (limited to 'deploy/shione/srb2kart/generate_dkartconfig.sh')
-rwxr-xr-xdeploy/shione/srb2kart/generate_dkartconfig.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/shione/srb2kart/generate_dkartconfig.sh b/deploy/shione/srb2kart/generate_dkartconfig.sh
index 23d2d4a..c0d452e 100755
--- a/deploy/shione/srb2kart/generate_dkartconfig.sh
+++ b/deploy/shione/srb2kart/generate_dkartconfig.sh
@@ -33,6 +33,10 @@ fi
cp -- dkartconfig_base.cfg dkartconfig.cfg
+# NOTE: `dkartconfig_password.cfg` *must* follow the format `password xxx`.
+# TODO: Read from an environment variable?
+cat -- dkartconfig_password.cfg >>dkartconfig.cfg
+
# NOTE: `find` does not offer a way to guarantee a desired sort of its output.
find mods -type f -printf 'addfile %p\n' | sort >dkartconfig_generated.cfg