diff options
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/conffile.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/functions/conffile.sh b/functions/conffile.sh index aa12fc5..a45f6b5 100755 --- a/functions/conffile.sh +++ b/functions/conffile.sh @@ -43,3 +43,13 @@ Read_conffile () fi done } + +Print_conffiles () { + for CONFFILE in Get_conffiles "${@}" + do + if [ -f "${CONFFILE}" ] + then + Echo_file "${CONFFILE}" + fi + done +} |