Talk:UltrasonicPlayer: Difference between revisions

From RevSpace
Jump to navigation Jump to search
(how to run somethign with a udev rule without blocking udev)
(No difference)

Revision as of 18:22, 26 June 2017

> 2017-06-16: playing a bit with udev scripts to automate actions upon USB stick plugin: I can do short actions (like mount/unmount) but no longer running actions from udev!

You could run the script you need from udev with "at -f /path/to/script now" so it won't block udev. Mighty need a slight delay (either "sleep $time" or something more intelligent to check a few times if the /dev/entry appears) in the script to allow for the drivers to load.

Luteijn (talk) 20:21, 26 June 2017 (CEST)