uhttpd: Execute uci commit and reload_config once
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 20 Mar 2021 12:26:20 +0000 (13:26 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 21 Mar 2021 21:16:32 +0000 (22:16 +0100)
commit501221af542b5154fbf8788f8426bc7f5443764a
tree0e6a9d1569ca70cf76abc036107d193c4f5d6b27
parentd25d281fd6686bda67636f6c1df918145b6cb738
uhttpd: Execute uci commit and reload_config once

Instead of doing uci commit and reload_config for each setting do it
only once when one of these options was changed. This should make it a
little faster when both conditions are taken.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/services/uhttpd/files/ubus.default