[Commotion-admin] [commotion-dashboard-helper] Exit script if dashboard is disabled (#14)

areynold notifications at github.com
Sat Dec 28 00:58:39 UTC 2013


Fixed syntax error preventing immediate exit if dashboard is disabled.

To test:
1. Flash node and run setup wizard.
2. Run `/usr/bin/commotion-bigboard-send`, then `logread`. You should NOT see this message: "user.notice luci: Dashboard config error. No listener set."
3. Add internet access and enable dashboard using "dashboard.commotionwireless.net".
4. Rerun `/usr/bin/commotion-bigboard-send`. Your node should appear in the dashboard.
You can merge this Pull Request by running:

  git pull https://github.com/opentechinstitute/commotion-dashboard-helper early-exit

Or you can view, comment on it, or merge it online at:

  https://github.com/opentechinstitute/commotion-dashboard-helper/pull/14

-- Commit Summary --

  * Fixed incorrect uci:get syntax preventing early exit
  * Removed unused code

-- File Changes --

    M files/bin/commotion-bigboard-send (5)

-- Patch Links --

https://github.com/opentechinstitute/commotion-dashboard-helper/pull/14.patch
https://github.com/opentechinstitute/commotion-dashboard-helper/pull/14.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20131227/0da32d00/attachment.html>


More information about the Commotion-admin mailing list