manage incexec dir in clientconfdir
This commit is contained in:
@@ -25,8 +25,8 @@ function mail_error {
|
||||
}
|
||||
|
||||
for file in $clientconfdir/* ; do
|
||||
if ( ! grep -q warn $file ) ; then continue ; fi
|
||||
if [ ! -f $file ] ; then continue ; fi
|
||||
if ( ! grep -q warn $file ) ; then continue ; fi
|
||||
maxage=$(awk -F= '/warn/{print $2}' $file)
|
||||
mail=$(awk -F= '/mail/{print $2}' $file)
|
||||
userdir=$(awk -F= '/directory/{print $2}' $file)
|
||||
|
||||
Reference in New Issue
Block a user