Skip to content

Commit

Permalink
Remove warning from lime-config if odhcp is not installed
Browse files Browse the repository at this point in the history
Signed-off-by: Pau Escrich <p4u@dabax.net>
  • Loading branch information
p4u committed Aug 7, 2016
1 parent 4e31e51 commit 566006d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lime-system/files/usr/lib/lua/lime/network.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function network.clean()
uci:save("network")

print("Disabling odhcpd")
io.popen("/etc/init.d/odhcpd disable || true"):close()
io.popen("/etc/init.d/odhcpd disable 2>/dev/null || true"):close()

print("Cleaning dnsmasq")
uci:foreach("dhcp", "dnsmasq", function(s) uci:delete("dhcp", s[".name"], "server") end)
Expand Down

0 comments on commit 566006d

Please sign in to comment.