DJ Lucas wrote:
[EMAIL PROTECTED] wrote:

+ACTION=="add", SUBSYSTEM=="?*", MODALIAS=="?*", \
   RUN+="/sbin/modprobe $modalias"

Just a bit of warning....this did not work when run through jhalfs for some reason. Works fine from the command line. I suspect the script tried to expand $modalias as I had an extra space before the endquote in my rules.

Yeah, and when I scripted it I forgot to escape the '$' in my Makefile too! I wonder whether there's a facility in jhalfs to not expand shell variables? If not, I think I'll raise an enhancement request :-)

Regards,

Matt.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to