aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-10 16:43:17 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-11 01:43:41 +0200
commit2c198ea162e900ad909f81cf6dabdf510d30fbe8 (patch)
treebb8f0c3231401c5bcc8135530939497aa1be6533 /target
parent338c64937fb87a8e5b03c213076ef369e5291c89 (diff)
downloadupstream-2c198ea162e900ad909f81cf6dabdf510d30fbe8.tar.gz
upstream-2c198ea162e900ad909f81cf6dabdf510d30fbe8.tar.bz2
upstream-2c198ea162e900ad909f81cf6dabdf510d30fbe8.zip
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>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering2
1 files changed, 1 insertions, 1 deletions
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
}