summaryrefslogtreecommitdiff
path: root/rc.multi
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-11-28 19:14:53 +0000
committerJudd Vinet <judd@archlinux.org>2005-11-28 19:14:53 +0000
commit15c49deac15f97e647afc081c7b5e210ad4bdcd3 (patch)
tree154e23d8e0396f87153bbf3593d191f1284f83b8 /rc.multi
parentfb8a47586d0c5c5833a6bee2adc162a22b646d5a (diff)
moved sysctl config stuff to precede daemon startup (#3530)
Diffstat (limited to 'rc.multi')
-rwxr-xr-xrc.multi6
1 files changed, 3 insertions, 3 deletions
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