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

Request: add a command to dump udev config to stdout #157

Closed
ali1234 opened this issue Jan 2, 2021 · 1 comment
Closed

Request: add a command to dump udev config to stdout #157

ali1234 opened this issue Jan 2, 2021 · 1 comment

Comments

@ali1234
Copy link
Contributor

ali1234 commented Jan 2, 2021

It is tricky to run a script installed by pip --user as root because sudo changes the environment. This problem would be mitigated if I could do something like:

rivalcfg --dump-udev | sudo tee /etc/udev/rules.d/99-steelseries.rules && sudo udevadm control --reload
@flozz
Copy link
Owner

flozz commented Jan 3, 2021

You are right... and this can probably be useful for packagers too... :)

@flozz flozz closed this as completed in d4ee65f Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants