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

[ifconfig] Query /sys/class/net instead of ifconfig #39

Closed
wants to merge 1 commit into from

Conversation

merlin1991
Copy link

Invoking ifconfig to check for interface existance is overkill,
instead check if the device exists in /sys/class/net

Signed-off-by: Christian Ratzenhofer christian.ratzenhofer@cdnm.at

Invoking ifconfig to check for interface existance is overkill,
instead check if the device exists in /sys/class/net

Signed-off-by: Christian Ratzenhofer <christian.ratzenhofer@cdnm.at>
@philippedeswert
Copy link
Contributor

Merged as ca67fee (it was easier & quicker to test it at the same time with other stuff)

Thanks a lot!

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.

None yet

2 participants