Error in /etc/hotplug/pnp.rc script

Alexander E. Patrakov see at the.sig
Sun Jun 20 18:55:45 PDT 2004


Bruce Dubbs wrote:
> Jeremy Huntwork wrote:
> 
>> On Sunday 20 June 2004 02:08 pm, Bruce Dubbs wrote:
>>  
>>
>>> /etc/hotplug/pnp.rc: line 16: return: can only use 'return' from a
>>> function or a sources script
>>>
>>> The line should probably be:
>>>
>>> [ -d /sys/bus/pnp/devices/ ] || exit 0
>>>
>>>  -- Bruce
>>>   
>>
>>
>> This showed up in lfs-hackers on Friday:
>> http://linuxfromscratch.org/pipermail/lfs-hackers/2004-June/001485.html
>>
> 
> OK, but the messges says 'upstream notified'.  The problem is actually 
> in one of the lfs hotplug patches, hotplug-2004_04_01-isapnp-2.patch.  

I have posted hotplug-2004_04_01-isapnp-3.patch. If you decice to 
reinstall hotplug, be sure to delete the pnp.rc file, since I dropped it 
from this patch.

And be sure to enable CONFIG_PNPBIOS in the kernel config and apply 
linux-2.6.7-pnp_addition-1.patch to the kernel (see lfs-hackers or 
patches list, it is not in CVS yet for some strange reason).

-- 
Alexander E. Patrakov
To get my address: echo '0!42!+/6 at 5-3.535.25' | tr \!-: a-z | tr n .



More information about the lfs-dev mailing list