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

how do you call the action "reboot" #4

Open
ladiko opened this issue Dec 29, 2016 · 2 comments
Open

how do you call the action "reboot" #4

ladiko opened this issue Dec 29, 2016 · 2 comments

Comments

@ladiko
Copy link

ladiko commented Dec 29, 2016

or is it even neccessary?

@dimonomid
Copy link
Owner

Hm, it looks like this is an unused leftover.

@ladiko
Copy link
Author

ladiko commented Jan 2, 2017

would it help to use it in a start script which is executed before udev starts? To clean up old entries!? By the way i adjusted the script to add devices to the list during startup but then quit and dont give any audio ouput. Otherwise it would beep on every boot. I just added a line pgrep xinit >/dev/null || exit.

I really like the script. By the way if you dont want to rely on parsing the output of lsusb, you could lookup /sys/$dev_path - there are all the values in file system. Reading them there would also be faster than parsing lsusb. But for the device classes you would have a list in the script as you only get the ID number from the file system: http://www.usb.org/developers/defined_class

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

No branches or pull requests

2 participants