From: John Audia Date: Sun, 29 Sep 2024 10:37:43 +0000 (-0400) Subject: base-files: /etc/sysctl.conf: clarity in comment X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=664b8ffb0a0eb81ba998d28c09dd0b5e476e2adc;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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