Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 1997 14:47:06 +0300
From:      Ruslan Shevchenko <rssh@cki.ipri.kiev.ua>
To:        hackers@freebsd.org
Subject:   Re: on the subject of changes to -RELEASEs...
Message-ID:  <3354BC3C.2F@cki.ipri.kiev.ua>
References:  <199704120213.MAA10732@topaz.nemeton.com.au> <E0wG8AO-000081-00@rover.village.org> <19970416125329.34879@usn.blaze.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Sat Apr 12 13:08:52 EST 1997, Warner Losh writes:
> > In message <199704120213.MAA10732@topaz.nemeton.com.au> Giles Lean writes:
> > [ use smrsh ]
> > : I recommend that we make this change for the 3.0 release.
> >
> > Me too.  Any objection to just doing it?
> 

 It's about keeping all info in /etc/sysconfig ?
If yes, that how about checking for agree with traditional
/etc files and new staff ? The idea, that if we have 2 sources of
system information, that it must equal. (as in theory of databases) 

It is possible, do next ?

 if file exists
    read var from it (by sed)
    compare with var in sysconfig
    if [they are not equal]
    do
       (mail sysadmin, prompt ..)
    fi
 fi

And write 2 programs:

1. etc.export.sysvars
         (/etc/sysconfig -> /etc/.....)
2. etc.import.sysvars
         (/etc/.. -> /etc/sysconfig)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3354BC3C.2F>