mir3c/squashfs-root/etc/init.d/sysctl

12 lines
216 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=11
start() {
[ -f /etc/sysctl.conf ] && sysctl -p -e >&-
[ -d /etc/sysctl.d ] && \
for i in /etc/sysctl.d/*.conf; do
sysctl -e -p $i >&-
done
}