12 063
правки
(Новая страница: «If it becomes impossible to get all necessary variables for substitution for a given file, the file is not updated.») |
(Новая страница: «Other configuration files must be added to the autoconfiguration system through WB-dbic package upgrade (with version increase). In this case, if the desired file…») |
||
(не показаны 3 промежуточные версии этого же участника) | |||
Строка 32: | Строка 32: | ||
If it becomes impossible to get all necessary variables for substitution for a given file, the file is not updated. | If it becomes impossible to get all necessary variables for substitution for a given file, the file is not updated. | ||
Changes to configuration files are not saved. Changes in templates in /etc/wb-dbic/templates directory are processed | |||
the standard conffiles mechanism in dpkg: when installing an updated package | |||
and if there are local edits, the user will be offered options for further action. | |||
==== | ==== Network setup ==== | ||
Since getting variables for substituting in templates is happening on the network, | |||
the initial file with network settings - /etc/network/interfaces is provided separately. | |||
==== | ==== Adding configuration files to the system ==== | ||
Other configuration files must be added to the autoconfiguration system | |||
through WB-dbic package upgrade (with version increase). In this case, if the desired file is provided by any package, then | |||
you must use the dpkg-divert or dpkg-divert functionality in conjunction with ucf to prevent overwriting of the file when upgrading | |||
source package. |
правки