diff options
author | Sebastien Luttringer <seblu@seblu.net> | 2011-08-31 11:32:51 +0200 |
---|---|---|
committer | Sebastien Luttringer <seblu@seblu.net> | 2011-08-31 18:01:25 +0200 |
commit | 5948612fe7191734ccc89570e808659ee2e6b3e3 (patch) | |
tree | 03ca326c69850042a6525144799bf56e6126f7e0 /rc.multi | |
parent | 227b71e67d19f73128862d20aac714537c8517df (diff) |
Load sysctl config files from sysctl.d
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>
Diffstat (limited to 'rc.multi')
-rwxr-xr-x | rc.multi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,8 +8,8 @@ run_hook multi_start -# Load sysctl variables if sysctl.conf is present -[[ -r /etc/sysctl.conf ]] && sysctl -q -p &>/dev/null +# Load sysctl config files +[[ -x /usr/lib/initscripts/arch-sysctl ]] && /usr/lib/initscripts/arch-sysctl # Start daemons for daemon in "${DAEMONS[@]}"; do |