add some env. variables to /etc/profile
authorMichael Lauer <mickey@vanille-media.de>
Thu, 20 May 2004 19:44:24 +0000 (19:44 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Thu, 20 May 2004 19:44:24 +0000 (19:44 +0000)
BKrev: 40ad0a98GSea1GW92NWBfYGucsOdPw

base-files/base-files/etc/profile
base-files/base-files_3.0.14.oe

index e69de29..a3932c9 100644 (file)
@@ -0,0 +1,23 @@
+# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
+# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
+
+OPIEDIR=/opt/QtPalmtop
+QPEDIR=/opt/QtPalmtop
+QTDIR=/opt/QtPalmtop
+PATH="/opt/QtPalmtop/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
+
+if [ "$PS1" ]; then
+  if [ "$BASH" ]; then
+    PS1='\u@\h:\w\$ '
+  else
+    if [ "`id -u`" -eq 0 ]; then
+      PS1='# '
+    else
+      PS1='$ '
+    fi
+  fi
+fi
+
+export PATH PS1 OPIEDIR QPEDIR QTDIR
+
+umask 022
index 6e2ced4..9a61849 100644 (file)
@@ -1,7 +1,7 @@
 xDESCRIPTION = "Base system miscellaneous files."
 SECTION = "base"
 PRIORITY = "required"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = " file://${FILESDIR}/etc/nsswitch.conf \
             file://${FILESDIR}/etc/motd \