r7388 - in branches/udev_update/BOOK: chapter01 chapter06

Matthew Burgess matthew at linuxfromscratch.org
Sun Feb 19 23:48:04 PST 2006


DJ Lucas wrote:
> matthew at linuxfromscratch.org 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.



More information about the lfs-book mailing list