reinstall
This commit is contained in:
7
modified.sh
Executable file
7
modified.sh
Executable 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"
|
||||
Reference in New Issue
Block a user