by cincuranet » Fri Feb 20, 2015 8:43 am
Thanks. I suppose the /etc/tmpfiles.d/... would be maybe better place.
Anyway the docs says:
$this->bbcode_second_pass_quote('', 'N')ote: This method may not work to set options in /sys since the systemd-tmpfiles-setup service may run before the appropriate device modules is loaded. In this case you could check whether the module has a parameter for the option you want to set with modinfo module and set this option with a config file in /etc/modprobe.d. Otherwise you will have to write a udev rule to set the appropriate attribute as soon as the device appears.
Isn't that a problem? Sorry for maybe stupid question, I'm learning.