From e7ed6c3e07dfba5eb7c7b1f33c1b6535e1768fbb Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Wed, 31 Jul 2024 12:55:27 +0200 Subject: [PATCH] feat: prepare given amandahosts file --- client/scripts/entryPoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/scripts/entryPoint.sh b/client/scripts/entryPoint.sh index 03abcac..a39d71c 100755 --- a/client/scripts/entryPoint.sh +++ b/client/scripts/entryPoint.sh @@ -1,3 +1,9 @@ #!/bin/bash +if [ -e /var/backups/amandahosts ]; then + cp /var/backups/amandahosts /var/backups/.amandahosts + chmod 600 /var/backups/.amandahosts +fi + + inetd -d /etc/inetd.conf \ No newline at end of file