On Thu, Mar 08, 2001 at 09:37:18PM -0700, Jason Gunthorpe <[EMAIL PROTECTED]> was heard to say: > > Re-execing or reloading the configuration sounds like maybe the least bad > > option, but I don't really like it. I think more thought on my part, or a > > better idea from someone else, is indicated.. > > I would just reload the configuration after running dpkg, since we know > people are manipulating it now.. It isn't too hard to do, delete the > _config, and recall the init functions.
I know how to do it :) It's just that if the user has changed options while the program was running, this will have the fun effect of resetting their changes to the defaults. I think I know how to deal with this, though. (I'll probably just store the current settings somewhere and restore them after rereading the config file. Sounds a lot less hard now that I'm awake..) Daniel -- /-------------------- Daniel Burrows <[EMAIL PROTECTED]> -------------------\ | "But what *does* kill me bloody well leaves me dead!" | | -- Terry Pratchett, _Carpe Jugulum_ | \------- Listener-supported public radio -- NPR -- http://www.npr.org --------/

