summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/sysctl
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-25 18:43:30 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-25 18:43:30 +0000
commit30c3e72a1e4893019786eff1d4cd9dfa9dad72e5 (patch)
tree4d7fab32a4374498605e742d2ac0a51c51769a10 /package/base-files/files/etc/init.d/sysctl
parent0002be7b1a5c266968b8afcf1cc70f1e5138626a (diff)
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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36129 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/init.d/sysctl')
-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 239779055..beeb79f7e 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 >&-
}