Hotplug needs the "which" program

Tushar Teredesai tushar at
Thu May 13 07:26:58 PDT 2004

Alexander E. Patrakov wrote:

> In hotplug-2004_04_01, usb.rc line 77, we see:
> LISTER=`which usbmodules`
> In previous versions, they used `type -p usbmodules`, but that's a 
> bashism and therefore should not be used in scripts starting with 
> #!/bin/sh
> So this is an argument for inclusion of the "which" program into LFS.

Tushar Teredesai

More information about the lfs-dev mailing list