Hotplug needs the "which" program

Alexander E. Patrakov see at the.sig
Thu May 13 02:50:40 PDT 2004

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.

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