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