aboutsummaryrefslogtreecommitdiffstats
path: root/package/uci
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
commitac4f6d474db7ee787cac48999eeadbe30e0f48cd (patch)
tree2f27eb1b408b4695c395bf05c1b2b99e824a2412 /package/uci
parent11d0604b5ebdaabda2aefe0c52f5ae6909dd4953 (diff)
downloadupstream-ac4f6d474db7ee787cac48999eeadbe30e0f48cd.tar.gz
upstream-ac4f6d474db7ee787cac48999eeadbe30e0f48cd.tar.bz2
upstream-ac4f6d474db7ee787cac48999eeadbe30e0f48cd.zip
commit after running uci_set_default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10434 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uci')
-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() {