ramips: limit uci commit to the changed config file
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 10 Jun 2020 14:43:17 +0000 (16:43 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 10 Jun 2020 23:43:41 +0000 (01:43 +0200)
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>
target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering

index 4883fd662d43cceb0154cdbb974dde591d1f4727..6a77229f29c2eeed775c319c6fa5410c33c6155f 100644 (file)
@@ -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
 }