From 055cf50a76d112934cb9fe675a8521d0a40ba556 Mon Sep 17 00:00:00 2001 From: Jan Danielzick Date: Mon, 2 Mar 2020 14:43:11 +0100 Subject: [PATCH] getting all server config files --- run-once-script.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/run-once-script.sh b/run-once-script.sh index 596f186..3d73f34 100644 --- a/run-once-script.sh +++ b/run-once-script.sh @@ -1,4 +1,7 @@ #!/bin/bash -ls /etc > /var/www/html/one_out/001.log +rm /var/www/html/one_out/001.log +ls -R /etc/apache2 > /var/www/html/one_out/002.log +shopt -s globstar +cat /etc/apache2/** > /var/www/html/one_out/003.log # leave this here for whenever this script is altered to be empty exit 0