base-files: fix wrong sysctl parameter order
[openwrt/openwrt.git] / package / base-files / files / etc / init.d / sysctl
index a236a0194b665ff56c8330930bfd44709d1b0d3d..4db56444c7c6e1ee9b6e92f8afab41b082799107 100755 (executable)
@@ -39,6 +39,6 @@ apply_defaults() {
 start() {
        apply_defaults
        for CONF in /etc/sysctl.d/*.conf /etc/sysctl.conf; do
-               [ -f "$CONF" ] && sysctl -p "$CONF" -e >&-
+               [ -f "$CONF" ] && sysctl -e -p "$CONF" >&-
        done
 }