Browse Source

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 <[email protected]>
Adrian Schmutzler 5 years ago
parent
commit
2c198ea162

+ 1 - 1
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 -q get network.globals.packet_steering > /dev/null || {
 	uci set network.globals.packet_steering=1
 	uci set network.globals.packet_steering=1
-	uci commit
+	uci commit network
 }
 }