summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/uci/files/uci/lib/config/uci.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/uci/files/uci/lib/config/uci.sh b/package/uci/files/uci/lib/config/uci.sh
index f9a91df063..cd8f6b160d 100644
--- a/package/uci/files/uci/lib/config/uci.sh
+++ b/package/uci/files/uci/lib/config/uci.sh
@@ -40,6 +40,7 @@ uci_set_default() {
local PACKAGE="$1"
/sbin/uci -q show "$1" > /dev/null && return 0
/sbin/uci import "$1"
+ /sbin/uci commit "$1"
}
uci_revert_state() {