busybox: keep syslog.conf during sysupgrade
authorVal Kulkov <val.kulkov@gmail.com>
Thu, 20 Dec 2018 20:04:43 +0000 (15:04 -0500)
committerJo-Philipp Wich <jo@mein.io>
Wed, 30 Jan 2019 11:30:03 +0000 (12:30 +0100)
commited514e7f9ecc557fdddf2e22f3ad372affc1999b
tree828870f2c1b2372b9a1292d3ee2ced6c1c38e521
parent4bcf58135210736f2a1603609d2a76b3e188e2ad
busybox: keep syslog.conf during sysupgrade

If a user finds that logd is too barebone for their needs and wishes
to have more control over syslog, the user presently has an option
to enable CONFIG_BUSYBOX_CONFIG_FEATURE_SYSLOG and configure syslog
with settings in /etc/syslog.conf.

Presently /etc/syslog.conf silently disappears on sysupgrade. This
patch prevents such unwanted behaviour if busybox syslog is enabled
via CONFIG_BUSYBOX_CONFIG_FEATURE_SYSLOG.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
package/utils/busybox/Makefile