From 84a5868bc4710aff0fa9b449501e162dace47a30 Mon Sep 17 00:00:00 2001 From: Renken Date: Sat, 20 Jan 2024 21:34:13 +0100 Subject: srb2kart: add admin password --- deploy/shione/srb2kart/generate_dkartconfig.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'deploy/shione/srb2kart/generate_dkartconfig.sh') 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 -- cgit v1.2.3