[EMAIL PROTECTED] wrote:

>Thanks for the comments. As I don't have much experience in it, I've 
>asked Bastian Blank for advice, and he suggested that it's better to 
>do it with udev rules, since then we can be sure that the needed sysfs 
>entries have been created by the time the script runs. However, one 
>problem with that approach is that it is impossible to rmmod the 
>module then, as the daemon needs to be *stopped* before the module is 
>removed, otherwise rmmod aborts with "ERROR: Module ipw3945 is in 
>use". Is there a way to work around this problem in udev, or should I 
>just stick to modprobe instead?
No, I think modprobe directives are more appropriate for this task.
You need a script anyway to change the sysfs permissions, create the
/var/run/ directory, etc. So it can as well wait for the sysfs files to
appear. Let me know if you have more doubts.

-- 
ciao,
Marco


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to