summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-03-04 12:36:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-03-04 12:36:16 +0000
commit5701d5e0c8f2a8f74a9a764554c2cad49249b0c3 (patch)
tree4bda6684d7f1e5a9db3124ad0208ea55be269fc1
parentf7b534dddfe9bf9d464c870f3b6f522f6ecd49a3 (diff)
downloaddrakx-backup-do-not-use-5701d5e0c8f2a8f74a9a764554c2cad49249b0c3.tar
drakx-backup-do-not-use-5701d5e0c8f2a8f74a9a764554c2cad49249b0c3.tar.gz
drakx-backup-do-not-use-5701d5e0c8f2a8f74a9a764554c2cad49249b0c3.tar.bz2
drakx-backup-do-not-use-5701d5e0c8f2a8f74a9a764554c2cad49249b0c3.tar.xz
drakx-backup-do-not-use-5701d5e0c8f2a8f74a9a764554c2cad49249b0c3.zip
- unsetting LD_LIBRARY_PATH: setting LD_LIBRARY_PATH to libraries in /mnt is
wrong since the ld loader used (/lib/ld-linux.so.2) won't use the one in /mnt, causing dependency problems. - removing /mnt dirs from PATH (which are not useful anymore since the corresponding libraries won't be found) (fixes bug #2554)
-rw-r--r--rescue/tree/etc/profile3
1 files changed, 1 insertions, 2 deletions
diff --git a/rescue/tree/etc/profile b/rescue/tree/etc/profile
index 5cf489922..cc91e4dab 100644
--- a/rescue/tree/etc/profile
+++ b/rescue/tree/etc/profile
@@ -6,8 +6,7 @@
PROFILE_LOADED=1
-export PATH=/usr/bin:/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/mnt/sbin:/mnt/bin:/mnt/usr/sbin:/mnt/usr/bin:/mnt/usr/X11R6/bin
-export LD_LIBRARY_PATH=/mnt/lib:/mnt/usr/lib:/mnt/usr/X11R6/lib
+export PATH=/usr/bin:/bin:/sbin:/usr/sbin:/usr/X11R6/bin
PS1="[root@rescue \w]\\$ "
ls () { /bin/ls --color=auto -F "$@";}