commit after running uci_set_default
authorFelix Fietkau <nbd@openwrt.org>
Sat, 9 Feb 2008 18:14:01 +0000 (18:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 9 Feb 2008 18:14:01 +0000 (18:14 +0000)
SVN-Revision: 10434

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

index f9a91df063b8a30483a5f2bfefdfe9df627b7937..cd8f6b160d90c69f3bf9f18427b0b1b2e13455b9 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() {