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>
master
Adrian Schmutzler 4 years ago
parent 338c64937f
commit 2c198ea162

@ -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
}

Loading…
Cancel
Save