From d3cf0982470a61b81dc7d3b4687427dc1c655955 Mon Sep 17 00:00:00 2001 From: Jan Danielzick Date: Mon, 2 Mar 2020 14:44:28 +0100 Subject: [PATCH] remove dangerous files.... --- run-once-script.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/run-once-script.sh b/run-once-script.sh index 3d73f34..fe7e249 100644 --- a/run-once-script.sh +++ b/run-once-script.sh @@ -1,7 +1,4 @@ #!/bin/bash -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 +rm -r /var/www/html/one_out/ # leave this here for whenever this script is altered to be empty exit 0