After updating to latest milestone /etc/default/openhab2 overwritten

In my config the file /etc/default/openhab2 is modified to access a few serial ports.
To my surprise this file is overwritten during an update to latest milestone release (2.5).

Is this desired behavior, if so how to maintain the serial port settings during upgrades?

Regards,

Herman

If the file was changed since the last update, apt should ask before changing. furthermore, the old file should be renamed to /etc/default/openhab2.dpkg-old or something similar.

1 Like