Skip to content

Commit

Permalink
lime-webui: Restart BMX6 on commit so it will re-read hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
G10h4ck committed Aug 7, 2016
1 parent a18074f commit 64f0657
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/lime-webui/src/model/essentials.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ bssid.optional = true
-- commit
function lime.on_commit(self,map)
luci.sys.call('(/usr/bin/lime-config > /tmp/lime-config.log 2>&1 && reload_config) &')
luci.sys.call('((/etc/init.d/bmx6 restart &> /dev/null)&)')
end
-- LibreMap.org config
Expand Down

0 comments on commit 64f0657

Please sign in to comment.