summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index b81e77d9d..526913c07 100644
--- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@ -245,7 +245,7 @@ function main.write(self, section, value)
uci:set("system", s['.name'], "hostname", new_hostname)
end)
- luci.fs.writefile( "/proc/sys/kernel/hostname", new_hostname.."\n" )
+ sys.hostname(new_hostname)
uci:save("system")
end
end