base-files: Fix switch settings for uci-defaults-new.sh.
authorJohn Crispin <john@openwrt.org>
Thu, 8 Jan 2015 20:26:52 +0000 (20:26 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 8 Jan 2015 20:26:52 +0000 (20:26 +0000)
commit31eadd07f29842a26ff9f133157aa28a0f379f46
tree8566ce79176c97ee6ab7df83e46a1eafba51bbb1
parent52c949e448ef29c8b12f037b8e379c4aeab32fd8
base-files: Fix switch settings for uci-defaults-new.sh.

The enable and reset settings need to be added even when they're false. This is true at least for 'enable', that seems to default to true otherwise.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 43887
package/base-files/files/lib/functions/uci-defaults-new.sh