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 ++++ deploy/shione/srb2kart/mods/001-chars/c1 | 0 deploy/shione/srb2kart/mods/001-chars/c2 | 0 deploy/shione/srb2kart/mods/002-tracks/t1 | 0 deploy/shione/srb2kart/mods/003-post/po1 | 0 deploy/shione/srb2kart/mods/index/c1 | 1 - deploy/shione/srb2kart/mods/index/c2 | 1 - deploy/shione/srb2kart/mods/index/p1 | 1 - deploy/shione/srb2kart/mods/index/po1 | 1 - deploy/shione/srb2kart/mods/index/t1 | 1 - 10 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 deploy/shione/srb2kart/mods/001-chars/c1 delete mode 100644 deploy/shione/srb2kart/mods/001-chars/c2 delete mode 100644 deploy/shione/srb2kart/mods/002-tracks/t1 delete mode 100644 deploy/shione/srb2kart/mods/003-post/po1 delete mode 120000 deploy/shione/srb2kart/mods/index/c1 delete mode 120000 deploy/shione/srb2kart/mods/index/c2 delete mode 120000 deploy/shione/srb2kart/mods/index/p1 delete mode 120000 deploy/shione/srb2kart/mods/index/po1 delete mode 120000 deploy/shione/srb2kart/mods/index/t1 (limited to 'deploy/shione/srb2kart') 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 diff --git a/deploy/shione/srb2kart/mods/001-chars/c1 b/deploy/shione/srb2kart/mods/001-chars/c1 deleted file mode 100644 index e69de29..0000000 diff --git a/deploy/shione/srb2kart/mods/001-chars/c2 b/deploy/shione/srb2kart/mods/001-chars/c2 deleted file mode 100644 index e69de29..0000000 diff --git a/deploy/shione/srb2kart/mods/002-tracks/t1 b/deploy/shione/srb2kart/mods/002-tracks/t1 deleted file mode 100644 index e69de29..0000000 diff --git a/deploy/shione/srb2kart/mods/003-post/po1 b/deploy/shione/srb2kart/mods/003-post/po1 deleted file mode 100644 index e69de29..0000000 diff --git a/deploy/shione/srb2kart/mods/index/c1 b/deploy/shione/srb2kart/mods/index/c1 deleted file mode 120000 index 2a228a3..0000000 --- a/deploy/shione/srb2kart/mods/index/c1 +++ /dev/null @@ -1 +0,0 @@ -../001-chars/c1 \ No newline at end of file diff --git a/deploy/shione/srb2kart/mods/index/c2 b/deploy/shione/srb2kart/mods/index/c2 deleted file mode 120000 index ded63ff..0000000 --- a/deploy/shione/srb2kart/mods/index/c2 +++ /dev/null @@ -1 +0,0 @@ -../001-chars/c2 \ No newline at end of file diff --git a/deploy/shione/srb2kart/mods/index/p1 b/deploy/shione/srb2kart/mods/index/p1 deleted file mode 120000 index 246ebb9..0000000 --- a/deploy/shione/srb2kart/mods/index/p1 +++ /dev/null @@ -1 +0,0 @@ -../000-pre/p1 \ No newline at end of file diff --git a/deploy/shione/srb2kart/mods/index/po1 b/deploy/shione/srb2kart/mods/index/po1 deleted file mode 120000 index a72410e..0000000 --- a/deploy/shione/srb2kart/mods/index/po1 +++ /dev/null @@ -1 +0,0 @@ -../003-post/po1 \ No newline at end of file diff --git a/deploy/shione/srb2kart/mods/index/t1 b/deploy/shione/srb2kart/mods/index/t1 deleted file mode 120000 index 5a1373a..0000000 --- a/deploy/shione/srb2kart/mods/index/t1 +++ /dev/null @@ -1 +0,0 @@ -../002-tracks/t1 \ No newline at end of file -- cgit v1.2.3