reinstall

This commit is contained in:
2019-08-10 09:28:27 +02:00
parent 0957a88ac8
commit 6adc6f1f71
3 changed files with 69 additions and 0 deletions

7
modified.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
dir="/usr/local/etc/httpd"
name="httpd.conf"
test=$(find $dir -name "$name" -mmin -2 -maxdepth 1)
#[ ! -z $test ] && echo "$name was modified in the last 2 minutes"
[ ! -z $test ] && echo -e "\033[1;31m❗ $name was modified in the last 5 minutes\033[0m"