[settings] Avoid duplicate settings block names
authorMichael Brown <mcb30@etherboot.org>
Sat, 31 Jan 2009 07:32:20 +0000 (07:32 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sat, 31 Jan 2009 07:32:20 +0000 (07:32 +0000)
commitd2b0081740de9e31fb28f7c6761bbf78835c07d7
tree70d98d9d5cedcde988af9bdfe4af460550491b0a
parentb111bdfb000b22a41961ae9d3d2920a9c43d84f8
[settings] Avoid duplicate settings block names

Automatically unregister any settings with the same name (and position
within the settings tree) as a newly registered settings block.

This functionality is generalised out from dhcp.c.
src/core/settings.c