#!/bin/sh
#
# $Id: sysconfig_get_sysfiles_network,v 1.1.1.1 2005/05/11 09:03:12 gleissner Exp $
#
#
# Project     :  SCPM (System Configuration Profile Management)
# Module      :  SCPM Utilities
# File        :  sysconfig_get_sysfiles_network
# Description :  Determines sysconfig files for sysconfig resource network
# Author      :  Joachim Gleissner <jg@suse.de>
#
# Copyright 2001 SuSE GmbH
#
# Released under the terms of the GNU General Public License
# (see file COPYRIGHT in project root directory).
#

cd /etc/sysconfig/network

for i in ifcfg-* ifroute-* routes wireless ; do
    hide=no
    test "${i#*.}" = "$i" || hide=yes
    test "${i#*~}" = "$i" || hide=yes
    test -e "$i" || hide=yes
    test "$i" = "ifcfg-lo" && hide=yes
    test $hide = no && echo $i
done

exit 0
