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)
commitc7f6ac39f5b7adbfc6fc98bdb7898eea3c0e5384
tree10914186a21aac9636fac2445a6b3c3981098961
parentb9e798e197889d753c98c34d426148fde3e9135f
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