summaryrefslogtreecommitdiffstats
path: root/loader2/linuxrc.s390
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/linuxrc.s390')
-rw-r--r--loader2/linuxrc.s3909
1 files changed, 9 insertions, 0 deletions
diff --git a/loader2/linuxrc.s390 b/loader2/linuxrc.s390
index a3dfc2a2f..df964865d 100644
--- a/loader2/linuxrc.s390
+++ b/loader2/linuxrc.s390
@@ -367,6 +367,15 @@ HOME=$HOME
PYTHONPATH=$PYTHONPATH
EOF
+cat >> /etc/profile <<EOF
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH
+PATH=$PATH
+HOME=$HOME
+PYTHONPATH=$PYTHONPATH
+export LD_LIBRARY_PATH PATH HOME PYTHONPATH
+EOF
+
+
if [ "$NETTYPE" = "ctc" ]; then
echo "REMIP=$GATEWAY" >> /tmp/netinfo
echo "export REMIP=$GATEWAY" >> /etc/profile