[SQM/luci-app-sqm] Enable sqm initiscript if a single sqm instance gets enabled
authorSebastian Moeller <[email protected]>
Wed, 17 Jun 2015 18:45:35 +0000 (20:45 +0200)
committerToke Høiland-Jørgensen <[email protected]>
Sun, 12 Jul 2015 20:30:34 +0000 (22:30 +0200)
commita01d871099ca445d42cc48a75c269667bffed207
treedaf9cf076ff7c37549b1b2d9644e4b2b95f89b86
parentb4b1bcfcf8d1379c88c6df751898ee6f222a1175
[SQM/luci-app-sqm] Enable sqm initiscript if a single sqm instance gets enabled

The SQM gui has confused its users with an enable button, that only served to
selecively activate/de-activate sqm instances instead of controlling sqm's
initscript (which needs to be enabled so the sqm properly starts up after a reboot
and also for hotplug to work properly). luci-app-sqm will now enable sqm's
initscript when a single sqm instance get enabled. It also informs the user about
this fact in the top margin of the sqm page. Note sqm will not disable the
initscript behind the user's back if sqm instances get disabled.
While I would have prefered this notice to be more prominent an attentive user
should notice, and most users should not care anyway. This also increases the
package release number.

Signed-off-by: Sebastian Moeller <[email protected]>
net/luci-app-sqm/Makefile
net/luci-app-sqm/files/sqm-cbi.lua