[git commit master] install lspci and lsusb to /usr/bin

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu May 6 16:30:48 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=c7efd6441def53df0200d7cce24e2956ad96aa02
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Both can be run (to some degree) by mere users.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 include/applets.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/applets.h b/include/applets.h
index dfb20b9..6d7af52 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -248,8 +248,8 @@ IF_LS(APPLET_NOEXEC(ls, ls, _BB_DIR_BIN, _BB_SUID_DROP, ls))
 IF_LSATTR(APPLET(lsattr, _BB_DIR_BIN, _BB_SUID_DROP))
 IF_LSMOD(APPLET(lsmod, _BB_DIR_SBIN, _BB_SUID_DROP))
 IF_MODPROBE_SMALL(APPLET_ODDNAME(lsmod, modprobe, _BB_DIR_SBIN, _BB_SUID_DROP, modprobe))
-IF_LSPCI(APPLET(lspci, _BB_DIR_SBIN, _BB_SUID_DROP))
-IF_LSUSB(APPLET(lsusb, _BB_DIR_SBIN, _BB_SUID_DROP))
+IF_LSPCI(APPLET(lspci, _BB_DIR_USR_BIN, _BB_SUID_DROP))
+IF_LSUSB(APPLET(lsusb, _BB_DIR_USR_BIN, _BB_SUID_DROP))
 IF_UNLZMA(APPLET_ODDNAME(lzmacat, unlzma, _BB_DIR_USR_BIN, _BB_SUID_DROP, lzmacat))
 IF_LZOP(APPLET(lzop, _BB_DIR_BIN, _BB_SUID_DROP))
 IF_LZOP(APPLET_ODDNAME(lzopcat, lzop, _BB_DIR_USR_BIN, _BB_SUID_DROP, lzopcat))
-- 
1.6.3.3



More information about the busybox-cvs mailing list