about summary refs log tree commit diff
path: root/core-services
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-09-21 11:11:46 +0200
committerJuan RP <xtraeme@gmail.com>2014-09-21 11:11:46 +0200
commit49463b55b6c51a8dfc63c96c8116e563eebaa8a2 (patch)
treea4cf1b5cf174b46f5f814d1ddd704d00cfbe26e4 /core-services
parent008a3cbdd06375ef23f69532f7e8ff1d320f6499 (diff)
downloadrunit-void-49463b55b6c51a8dfc63c96c8116e563eebaa8a2.tar.gz
runit-void-49463b55b6c51a8dfc63c96c8116e563eebaa8a2.tar.xz
runit-void-49463b55b6c51a8dfc63c96c8116e563eebaa8a2.zip
Revert "core-services/08-sysctl.sh: make this work with busybox sysctl."
This reverts commit 6285339a7a40da441cef2114e4cb1197d42a925a.

Make no sense to have this workaround as we need procps-ng anyway for pkill.
Diffstat (limited to 'core-services')
-rw-r--r--core-services/08-sysctl.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/core-services/08-sysctl.sh b/core-services/08-sysctl.sh
index 30d5c39..6616784 100644
--- a/core-services/08-sysctl.sh
+++ b/core-services/08-sysctl.sh
@@ -2,10 +2,5 @@
 
 if [ -x /sbin/sysctl ]; then
     msg "Loading sysctl(8) settings...\n"
-    for d in /etc/sysctl.d /usr/lib/sysctl.d; do
-        [ ! -d $d ] && continue
-        for x in $d/*.conf; do
-            sysctl -p $x
-        done
-    done
+    sysctl --system
 fi