about summary refs log tree commit diff
path: root/core-services/08-sysctl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'core-services/08-sysctl.sh')
-rwxr-xr-xcore-services/08-sysctl.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/core-services/08-sysctl.sh b/core-services/08-sysctl.sh
new file mode 100755
index 0000000..febe7bb
--- /dev/null
+++ b/core-services/08-sysctl.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# vim: set ts=4 sw=4 et:
+
+. /etc/runit/functions
+[ -r /etc/rc.conf ] && . /etc/rc.conf
+
+if [ -x /sbin/sysctl ]; then
+    msg "Loading sysctl(8) settings...\n"
+    sysctl --system
+fi