From 664b8ffb0a0eb81ba998d28c09dd0b5e476e2adc Mon Sep 17 00:00:00 2001 From: John Audia Date: Sun, 29 Sep 2024 06:37:43 -0400 Subject: [PATCH] base-files: /etc/sysctl.conf: clarity in comment Make it clear to users that they should not place a custom file in /etc/sysctl.d/ for their values and expect it to survive a reimage. This change is needed since these directories (/etc/foo.d/) are generally where such files are placed on other distros. Signed-off-by: John Audia Link: https://github.com/openwrt/openwrt/pull/16543 Signed-off-by: Hauke Mehrtens --- package/base-files/files/etc/sysctl.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/base-files/files/etc/sysctl.conf b/package/base-files/files/etc/sysctl.conf index ae04212f42..9ce5061657 100644 --- a/package/base-files/files/etc/sysctl.conf +++ b/package/base-files/files/etc/sysctl.conf @@ -1 +1,2 @@ -# Defaults are configured in /etc/sysctl.d/* and can be customized in this file +# User defined entries should be added to this file not to /etc/sysctl.d/* as +# that directory is not backed-up by default and will not survive a reimage -- 2.30.2