From 95b6b96d2c40d7538708d0edb5a0c37cbe1c1b95 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Wed, 22 Oct 2008 20:09:11 +0100 Subject: Add utility to dump all conffiles to stdout. --- functions/conffile.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 +} -- cgit v1.0