From 9f30ffe21c9e6b5ae22ee3d759da6bc09d1d9486 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 10 Jun 2013 08:24:02 +0000 Subject: [PATCH] base-files: change PATH order This allows packages to override busybox applets by placing the new binaries in /usr/{sbin,bin} Signed-off-by: John Crispin SVN-Revision: 36890 --- package/base-files/files/etc/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index 171adc18ef..e9a7119f1a 100644 --- a/package/base-files/files/etc/profile +++ b/package/base-files/files/etc/profile @@ -1,7 +1,7 @@ #!/bin/sh [ -f /etc/banner ] && cat /etc/banner -export PATH=/bin:/sbin:/usr/bin:/usr/sbin +export PATH=/usr/bin:/usr/sbin:/bin:/sbin export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6) export HOME=${HOME:-/root} export PS1='\u@\h:\w\$ ' -- 2.30.2