aboutsummaryrefslogtreecommitdiff
path: root/arch-sysctl
AgeCommit message (Collapse)AuthorFiles
2012-03-13arch-sysctl: allow passing specific config filesSébastien Luttringer1
Modify our path collection loop to accept the remaining argv as paths to config files. This overrides the default lookup for config files in /etc, /lib, and /run so that single config files can be parsed at a time Credits to Dave Reisner in 11ac21c1cf74 Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
2012-02-03Fix indentationLukas Fleischer1
Indent code using tabs (instead of spaces) in all source files. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-08-31Load sysctl config files from sysctl.dSebastien Luttringer1
This patch implement loading of sysctl config files as described in http://0pointer.de/public/systemd-man/sysctl.d.html This is a very conveniant way of configuring sysctl option for sysadmin which can drop sysctl config files inside this directory to enable some feature. Dropping a file like disableipv6.conf inside this directory will disable ipv6 $ cat disableipv6.conf net.ipv6.conf.all.disable_ipv6 = 1 There is atm no package which use this functionnality Signed-off-by: Sebastien Luttringer <seblu@seblu.net>