Hi all, I have several hundreds of devices with different configuration files (for instance, a network configuration). When I perform upgrade of packages for bug fixing or configuration change, how can I be sure not to break the configuration by performing the upgrade?
For example: I have some devices with 2 network interfaces per device. The first configuration was given at the time devices were installed by a script sent by a server (hence modifying /etc/network/interfaces) I want to add the second configuration to all these devices following a customer request. If I connect to these devices, and perform an ipkg update and upgrade, I will end up with the initial configuration of /etc/network/interfaces as well as other files that could leads to broken configuration (for example, by modifying hosts file) How could I tell ipkg not to overwrite the already present configuration files? I know there is an option when building ipkgs to indicate that files are config ones (conffiles in CONTROL directory of the ipk). And how to indicate ptxdist that there are some prerm, postrm, preinst and postinst scripts? Thanks for your help. Ben
-- ptxdist mailing list [email protected]
