]> git.openpandora.org Git - openembedded.git/commitdiff
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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a3932c974ad65e41fec618944f4f48b859c4be66 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 6e2ced44d70eb5689a7fcaf8e0ab127c59ad6ca4..9a61849f8e7c6a927c050a28a059d3a9abb23604 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 \