From: Michael Tremer Date: Thu, 15 Nov 2012 12:49:51 +0000 (+0100) Subject: bash startfiles: Add /sbin. X-Git-Tag: v2.13-beta1~62^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f350057661c1c2982cb88cbadef3b22870b52b4;p=people%2Fms%2Fipfire-2.x.git bash startfiles: Add /sbin. --- diff --git a/config/etc/profile b/config/etc/profile index 912d3d0b91..2d66685588 100644 --- a/config/etc/profile +++ b/config/etc/profile @@ -35,11 +35,13 @@ fi # Path manipulation if [ "$EUID" = "0" ]; then + pathmunge /sbin pathmunge /usr/sbin pathmunge /usr/local/sbin else pathmunge /usr/local/sbin after pathmunge /usr/sbin after + pathmunge /sbin after fi HOSTNAME=`/bin/hostname 2>/dev/null`