From 5948612fe7191734ccc89570e808659ee2e6b3e3 Mon Sep 17 00:00:00 2001 From: Sebastien Luttringer Date: Wed, 31 Aug 2011 11:32:51 +0200 Subject: 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 --- rc.multi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.multi') diff --git a/rc.multi b/rc.multi index 16fa83a..19623d8 100755 --- a/rc.multi +++ b/rc.multi @@ -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 -- cgit v1.2.3-54-g00ecf