luci-0.10: merge r6698

This commit is contained in:
Jo-Philipp Wich 2011-01-10 15:50:24 +00:00
parent eaa05f9f29
commit 43a7436644

View file

@ -100,6 +100,7 @@ c.cfgvalue = function(self, section)
end
c.write = function(self, section, value)
value = value:gsub("\r\n?", "\n")
return nixio.fs.writefile("/etc/sysupgrade.conf", value)
end