1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
raspberrypi-build/patches/07-path.diff

23 lines
811 B
Diff
Raw Permalink Normal View History

2017-07-02 23:52:02 -04:00
--- rootfs.orig/etc/login.defs
+++ rootfs/etc/login.defs
2016-04-11 02:29:41 -04:00
@@ -100,7 +100,7 @@ HUSHLOGIN_FILE .hushlogin
#
# (they are minimal, add the rest in the shell startup files)
ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
-ENV_PATH PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
2017-07-04 13:30:55 -04:00
+ENV_PATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
2016-04-11 02:29:41 -04:00
#
# Terminal permissions
2017-07-02 23:52:02 -04:00
--- rootfs.orig/etc/profile
+++ rootfs/etc/profile
2016-04-11 02:29:41 -04:00
@@ -4,7 +4,7 @@
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
- PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
+ PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
fi
export PATH