Running UCI on config files (as happened when /etc/uci-defaults/ gets processed) tends to reformat the config.
These minor changes help converge the configs with what they'd look like after processing, so that they may be diffed without generating too many non-semantic changes. Signed-off-by: Philip Prindeville <phil...@redfish-solutions.com>
Index: target/linux/x86/alix2/base-files/etc/config/system =================================================================== --- target/linux/x86/alix2/base-files/etc/config/system (revision 30641) +++ target/linux/x86/alix2/base-files/etc/config/system (working copy) @@ -11,19 +11,19 @@ config led option default 1 option name LAN - option sysfs 'alix:1' + option sysfs alix:1 option trigger netdev option mode 'tx rx' - option dev 'br-lan' + option dev br-lan config led option default 1 option name WiFi - option sysfs 'alix:2' - option trigger 'phy0tpt' + option sysfs alix:2 + option trigger phy0tpt config led option default 0 option name Heartbeat - option sysfs 'alix:3' - option trigger 'heartbeat' + option sysfs alix:3 + option trigger heartbeat Index: package/dnsmasq/files/dhcp.conf =================================================================== --- package/dnsmasq/files/dhcp.conf (revision 30641) +++ package/dnsmasq/files/dhcp.conf (working copy) @@ -6,19 +6,19 @@ option rebind_protection 1 # disable if upstream must serve RFC1918 addresses option rebind_localhost 1 # enable for RBL checking and similar services #list rebind_domain example.lan # whitelist RFC1918 responses for domains - option local '/lan/' - option domain 'lan' + option local "/lan/" + option domain lan option expandhosts 1 option nonegcache 0 option authoritative 1 option readethers 1 - option leasefile '/tmp/dhcp.leases' - option resolvfile '/tmp/resolv.conf.auto' - #list server '/mycompany.local/1.2.3.4' + option leasefile "/tmp/dhcp.leases" + option resolvfile "/tmp/resolv.conf.auto" + #list server "/mycompany.local/1.2.3.4" #option nonwildcard 1 #list interface br-lan #list notinterface lo - #list bogusnxdomain '64.94.110.11' + #list bogusnxdomain 64.94.110.11 config dhcp lan option interface lan Index: package/dropbear/files/dropbear.config =================================================================== --- package/dropbear/files/dropbear.config (revision 30641) +++ package/dropbear/files/dropbear.config (working copy) @@ -1,5 +1,5 @@ config dropbear - option PasswordAuth 'on' - option RootPasswordAuth 'on' - option Port '22' -# option BannerFile '/etc/banner' + option PasswordAuth on + option RootPasswordAuth on + option Port 22 +# option BannerFile "/etc/banner" Index: package/firewall/files/firewall.config =================================================================== --- package/firewall/files/firewall.config (revision 30641) +++ package/firewall/files/firewall.config (working copy) @@ -8,14 +8,14 @@ config zone option name lan - option network 'lan' + option network lan option input ACCEPT option output ACCEPT option forward REJECT config zone option name wan - option network 'wan' + option network wan option input REJECT option output ACCEPT option forward REJECT @@ -79,7 +79,7 @@ config rule option name Allow-ICMPv6-Forward option src wan - option dest * + option dest '*' option proto icmp list icmp_type echo-request list icmp_type destination-unreachable @@ -93,7 +93,7 @@ # include a file with users custom iptables rules config include - option path /etc/firewall.user + option path "/etc/firewall.user" ### EXAMPLE CONFIG SECTIONS Index: feeds/packages/net/p910nd/files/p910nd.config =================================================================== --- feeds/packages/net/p910nd/files/p910nd.config (revision 30641) +++ feeds/packages/net/p910nd/files/p910nd.config (working copy) @@ -1,5 +1,5 @@ config p910nd - option device /dev/lp0 + option device "/dev/lp0" option port 0 option bidirectional 1 option enabled 0
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel