base-files: Fix switch settings for uci-defaults-new.sh.
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 8 Jan 2015 20:26:52 +0000 (20:26 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 8 Jan 2015 20:26:52 +0000 (20:26 +0000)
commit89821af9eee0de47e640df9bddc2c6fc95604fdf
tree10914186a21aac9636fac2445a6b3c3981098961
parent65f71716e7a5136f8e18152fa4d9a22825cfbf3b
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43887 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/functions/uci-defaults-new.sh