package/procps-ng: add init script for sysctl
authorCarlos Santos <unixmania@gmail.com>
Wed, 1 May 2019 23:11:39 +0000 (20:11 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 3 Aug 2019 16:48:09 +0000 (18:48 +0200)
commit7ab7c6c6b2fe134d879335c99375e447e2d68b4b
tree3c9285a59b32ccf40b2bc117300c63a39c79ce0d
parent398c1af1d5cbad6cdcf0b2b965f27e86d1755420
package/procps-ng: add init script for sysctl

Add a simple init script that invokes sysctl early in the initialization
process to configure kernel parameters. This is already performed by
systemd (systemd-sysctl) but there is no sysvinit/busybox counterpart.

Files are read from directories in the following list in the given order
from top to bottom:

    /run/sysctl.d/*.conf
    /etc/sysctl.d/*.conf
    /usr/local/lib/sysctl.d/*.conf
    /usr/lib/sysctl.d/*.conf
    /lib/sysctl.d/*.conf
    /etc/sysctl.conf

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/procps-ng/S02sysctl [new file with mode: 0644]
package/procps-ng/procps-ng.mk