commit after running uci_set_default
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Feb 2008 18:14:01 +0000 (18:14 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Feb 2008 18:14:01 +0000 (18:14 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10434 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/uci/files/uci/lib/config/uci.sh

index f9a91df..cd8f6b1 100644 (file)
@@ -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() {