summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-09 18:14:01 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-09 18:14:01 +0000
commite7093a5178c6f675e0c1bc1c2a4f6d9c6bafdf8f (patch)
tree2f27eb1b408b4695c395bf05c1b2b99e824a2412
parentd52e2fc6c944b8db9c5816bd64ebc86d3e189958 (diff)
commit after running uci_set_default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10434 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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() {