From 15c49deac15f97e647afc081c7b5e210ad4bdcd3 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Mon, 28 Nov 2005 19:14:53 +0000 Subject: moved sysctl config stuff to precede daemon startup (#3530) --- rc.multi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rc.multi') diff --git a/rc.multi b/rc.multi index d8a1881..8050e98 100755 --- a/rc.multi +++ b/rc.multi @@ -6,6 +6,9 @@ . /etc/rc.conf . /etc/rc.d/functions +# Load sysctl variables if sysctl.conf is present +[ -r /etc/sysctl.conf ] && /sbin/sysctl -q -p &>/dev/null + # Start daemons for daemon in "${DAEMONS[@]}"; do if [ "$daemon" = "${daemon#!}" ]; then @@ -18,9 +21,6 @@ for daemon in "${DAEMONS[@]}"; do fi done -# Load sysctl variables if sysctl.conf is present -[ -r /etc/sysctl.conf ] && /sbin/sysctl -q -p &>/dev/null - if [ -x /etc/rc.local ]; then /etc/rc.local fi -- cgit v1.2.3