aboutsummaryrefslogtreecommitdiff
path: root/init.d/sysctl.Linux.in
AgeCommit message (Collapse)Author
2012-03-26Add -lxc keyword to sysctl script for linux systemsWilliam Hubbs
Kernel parameters should not be set from inside a lxc guest. Reported-by: Piotr Karbowski <piotr.karbowski@gmail.com>
2012-03-24sysctl: use @SYSCONFDIR@ in the scripts instead of hard coding /etcWilliam Hubbs
2012-03-24Allow files in sysctl.d to override sysctl.confWilliam Hubbs
reported-by: Peter Gantner (a.k.a. nephros) <gentoo@nephros.org> X-Gentoo-Bug: 406631 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406631
2012-03-24init.d/sysctl.Linux: do not use sysctl -qDiego Elio Pettenò
The -q option is not implemented by BusyBox, so instead of using that, make it so that the standard error is caught, but standard output is thrown away. Note: the ordered behaviour of redirection is part of POSIX so we should be on the safe side with this change, as first we duplicate the output descriptor to be used as stderr, then we change the output descriptor to point to NULL. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-02-21Remove prefix supportWilliam Hubbs
I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-18sysctl: do not make unknown keys fatalMike Frysinger
If unknown keys are found, currently sysctl would add all of its valid settings, but then leave itself marked as "stopped". Since this is not really what we want, make unknown keys a non-fatal error. Reported-by: Christian Ruppert <idl0r@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-28bug #349443: remove -openvz keyword from sysctl serviceWilliam Hubbs
Openvz supports sysctl settings which are different from the host settings, so allow the sysctl service to run for openvz systems.
2010-10-23remove 'use hostname' bug 340991, Thanks DiegoJory A. Pratt
2009-11-10Allow sysctl to read confs from /etc/sysctl.dRoy Marples
Fixes #203.
2009-07-01We should use -feature instead of nofeature.Roy Marples
This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
2009-05-01Add (c) to CopyrightRoy Marples
2008-03-28Restore noserver and noopenvz to sysctl.Roy Marples
2008-03-26Split sysctl into Linux and BSD specific files.Roy Marples