Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luci-mod-admin-full: show realtime wlan graph only if iw command is installed #859

Merged
merged 1 commit into from
Jan 16, 2017

Conversation

feckert
Copy link
Member

@feckert feckert commented Nov 28, 2016

Signed-off-by: Florian Eckert Eckert.Florian@googlemail.com

@danielfdickinson
Copy link
Contributor

This appears to me to be wrong. Realtime graphs in trunk use luci-bwc which uses libiwinfo not iw binary.

@danielfdickinson danielfdickinson added R: invalid more information needed issue needs more information and removed invalid labels Dec 9, 2016
@danielfdickinson
Copy link
Contributor

@feckert Is this a 15.05 bug fix of some kind?

@feckert
Copy link
Member Author

feckert commented Dec 10, 2016

@cshoredaniel i am working on 15.05 and i have a target without wlan and the wlan packages are not installed. But the realtime graph always show the wlan tab.

So i test for iw if it is installed, and if not then i am on a target without wlan supported. The source in trunk looks the same and there is no test too. So i think it is useful for trunk as well.

@danielfdickinson
Copy link
Contributor

danielfdickinson commented Dec 10, 2016

@feckert How about checking for /etc/config/wireless - it should exist if wlan is at all present and should not exist if it is not. e.g. if fs.access("/etc/config/wireless") then ...

@feckert
Copy link
Member Author

feckert commented Dec 10, 2016

@cshoredaniel I will to PR update on monday 👍

@danielfdickinson danielfdickinson removed the more information needed issue needs more information label Dec 10, 2016
@danielfdickinson
Copy link
Contributor

@feckert no rush, and if you could run test it too, that would help.

…nstalled

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
@feckert
Copy link
Member Author

feckert commented Dec 14, 2016

@cshoredaniel i am not shure if you get an update if i make a "git push --force" so i want to infrom you that I have update the PR

@danielfdickinson
Copy link
Contributor

@feckert thank you - I did miss this notification too...will get to it soon

@danielfdickinson
Copy link
Contributor

@jow- Should this go in for-15.05 as well?

@danielfdickinson danielfdickinson merged commit 98d1a09 into openwrt:master Jan 16, 2017
@feckert feckert deleted the realtime_wlan branch February 21, 2017 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants