[openwrt/openwrt] base-files: /etc/sysctl.conf: clarity in comment
LEDE Commits
lede-commits at lists.infradead.org
Thu Oct 3 08:29:33 PDT 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/664b8ffb0a0eb81ba998d28c09dd0b5e476e2adc
commit 664b8ffb0a0eb81ba998d28c09dd0b5e476e2adc
Author: John Audia <therealgraysky at proton.me>
AuthorDate: Sun Sep 29 06:37:43 2024 -0400
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 <therealgraysky at proton.me>
Link: https://github.com/openwrt/openwrt/pull/16543
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
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
More information about the lede-commits
mailing list