From: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Date: Wed, 10 Jun 2020 14:43:17 +0000 (+0200)
Subject: ramips: limit uci commit to the changed config file
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2c198ea162e900ad909f81cf6dabdf510d30fbe8;p=openwrt%2Fstaging%2Fxback.git

ramips: limit uci commit to the changed config file

Since 01_enable_packet_steering only touches the network config,
limit the uci commit to this as well.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
---

diff --git a/target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering b/target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering
index 4883fd662d..6a77229f29 100644
--- a/target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering
+++ b/target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering
@@ -1,4 +1,4 @@
 uci -q get network.globals.packet_steering > /dev/null || {
 	uci set network.globals.packet_steering=1
-	uci commit
+	uci commit network
 }