Переглянути джерело

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16543
Signed-off-by: Hauke Mehrtens <[email protected]>
John Audia 1 рік тому
батько
коміт
664b8ffb0a
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      package/base-files/files/etc/sysctl.conf

+ 2 - 1
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