#!/bin/sh
#
# $Id: file_get_files_sysconfig_isdn,v 1.4 2005/02/10 17:01:36 jg Exp $
#
#
# Project     :  SCPM (System Configuration Profile Management)
# Module      :  SCPM Utilities
# File        :  file_get_files_sysconfig_isdn
# Description :  Determines sysconfig files for /etc/sysconfig/isdn
# Author      :  Joachim Gleissner <jg@suse.de>
#
# Copyright 2002-2004 SuSE Linux AG
#           2005 SUSE LINUX Products GmbH
#
# Released under the terms of the GNU General Public License
# (see file COPYRIGHT in project root directory).
#

cd $1/etc/sysconfig/isdn

echo /etc/sysconfig/isdn
for i in cfg-* ; do
    hide=no
    test "${i#*.}" = "$i" || hide=yes
    test "${i#*~}" = "$i" || hide=yes
    test -e "$i" || hide=yes
    test -d "$i" && hide=yes
    test $hide = no && echo /etc/sysconfig/isdn/$i
done

exit 0
