aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/sysctl
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/init.d/sysctl')
-rwxr-xr-xpackage/base-files/files/etc/init.d/sysctl4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/sysctl b/package/base-files/files/etc/init.d/sysctl
index 36e29eabcb..2dfbaf7a6e 100755
--- a/package/base-files/files/etc/init.d/sysctl
+++ b/package/base-files/files/etc/init.d/sysctl
@@ -3,5 +3,7 @@
START=11
start() {
- [ -f /etc/sysctl.conf ] && sysctl -p -e >&-
+ for CONF in /etc/sysctl.conf /etc/sysctl.d/*.conf; do
+ [ -f "$CONF" ] && sysctl -p "$CONF" -e >&-
+ done
}