aboutsummaryrefslogtreecommitdiffstats
path: root/package
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 /package
parentc86404e5a19e7eae5f654717598d5e9ea0c9d2ae (diff)
downloadupstream-196320970834528404ba83117175036cbcf314c2.tar.gz
upstream-196320970834528404ba83117175036cbcf314c2.tar.bz2
upstream-196320970834528404ba83117175036cbcf314c2.zip
commit after running uci_set_default
SVN-Revision: 10434
Diffstat (limited to 'package')
-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() {