mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
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>
This commit is contained in:
parent
4bcf581352
commit
ed514e7f9e
@ -73,6 +73,12 @@ define Package/busybox/config
|
||||
source "$(SOURCE)/Config.in"
|
||||
endef
|
||||
|
||||
ifdef CONFIG_BUSYBOX_CONFIG_FEATURE_SYSLOG
|
||||
define Package/busybox/conffiles
|
||||
/etc/syslog.conf
|
||||
endef
|
||||
endif
|
||||
|
||||
# don't create a version string containing the actual timestamp
|
||||
export KCONFIG_NOTIMESTAMP=1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user