kconfig: Look in both /bin and /sbin for lsmod in streamline_config.pl
authorSteven Rostedt <srostedt@redhat.com>
Wed, 6 Jan 2010 23:49:44 +0000 (18:49 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 2 Feb 2010 18:01:01 +0000 (13:01 -0500)
Distributions now have lsmod in /bin instead of /sbin. But to handle
both cases, we look for it in /sbin /bin /usr/bin and /usr/sbin.
If lsmod is not found in any of those paths, it defaults to use
just lsmod and hopes that it lies in the path of the user.

Tested-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found