3 ########################################################################
5 ## This script will read network configurations under /etc/ and
6 ## create an equivalent registry tree under $ROOT.
8 ## The correct way to run it is:
10 ## # ./net-convert | sh -e
13 ## To make tests you can do:
15 ## $ ROOT=user/test ./net-convert | sh -e
17 ## Avi Alkalay <avi@unix.sh>
20 ########################################################################
23 [ -z "$RG" ] && RG="kdb"
24 [ -z "$ROOT" ] && ROOT="system"
26 PROFILES_HOME="/etc/sysconfig/networking/profiles"
28 # Get list of profiles
30 ls | while read profile; do