summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/init.d/sysctl
blob: 2dfbaf7a6e473d81575c2692fc0f8e0e3d3d9952 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org

START=11
start() {
	for CONF in /etc/sysctl.conf /etc/sysctl.d/*.conf; do
		[ -f "$CONF" ] && sysctl -p "$CONF" -e >&-
	done
}