summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/init.d
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-03-25 18:43:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-03-25 18:43:30 +0000
commitacca7eadc4db7d60971655b80e9208437e046bfb (patch)
treef8b6393ab2bf49111d18b157669ebfea496cbd7b /package/base-files/files/etc/init.d
parentb92e7500276a851f091de6e2c953056c9d45d987 (diff)
downloadmtk-20170518-acca7eadc4db7d60971655b80e9208437e046bfb.zip
mtk-20170518-acca7eadc4db7d60971655b80e9208437e046bfb.tar.gz
mtk-20170518-acca7eadc4db7d60971655b80e9208437e046bfb.tar.bz2
package/base-files: change sysctl handling Move /etc/init.d/sysctl to index 00 and add hotplug script that applies interface specific sysctls for interfaces that only appear later - this allows to reliably configure per-interface parameters in sysctl.conf, e.g. to disable ipv6 autoconfig on a specific iface.
SVN-Revision: 36129
Diffstat (limited to 'package/base-files/files/etc/init.d')
-rwxr-xr-xpackage/base-files/files/etc/init.d/sysctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/sysctl b/package/base-files/files/etc/init.d/sysctl
index 2397790..beeb79f 100755
--- a/package/base-files/files/etc/init.d/sysctl
+++ b/package/base-files/files/etc/init.d/sysctl
@@ -1,7 +1,7 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
-START=99
+START=0
start() {
[ -f /etc/sysctl.conf ] && sysctl -p -e >&-
}