1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00

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>
This commit is contained in:
Adrian Schmutzler 2020-06-10 16:43:17 +02:00
parent 338c64937f
commit 2c198ea162

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