3787c32183
This changes makes it possible to store custom settings in individual files inside the directory /etc/sysctl.d/. Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de> SVN-Revision: 46239
9 lines
186 B
Bash
Executable file
9 lines
186 B
Bash
Executable file
#!/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
|
|
}
|