summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-02-09 18:14:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-02-09 18:14:01 +0000
commit196320970834528404ba83117175036cbcf314c2 (patch)
tree40a432c0d04c34968a1cf0eae06e93fcd44ec11a
parentc86404e5a19e7eae5f654717598d5e9ea0c9d2ae (diff)
downloadmtk-20170518-196320970834528404ba83117175036cbcf314c2.zip
mtk-20170518-196320970834528404ba83117175036cbcf314c2.tar.gz
mtk-20170518-196320970834528404ba83117175036cbcf314c2.tar.bz2
commit after running uci_set_default
SVN-Revision: 10434
-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 f9a91df..cd8f6b1 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() {