summaryrefslogtreecommitdiff
path: root/base-files
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-05-20 19:44:24 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-05-20 19:44:24 +0000
commit761f9812d8177a3fd277ccf14b82e0c29229abb0 (patch)
treee57727dbc7361ea2b710ea6aad4de3c5f4bfef08 /base-files
parentf513146200c7ce8b2950fec4191fc6113203c789 (diff)
add some env. variables to /etc/profile
BKrev: 40ad0a98GSea1GW92NWBfYGucsOdPw
Diffstat (limited to 'base-files')
-rw-r--r--base-files/base-files/etc/profile23
-rw-r--r--base-files/base-files_3.0.14.oe2
2 files changed, 24 insertions, 1 deletions
diff --git a/base-files/base-files/etc/profile b/base-files/base-files/etc/profile
index e69de29bb2..a3932c974a 100644
--- a/base-files/base-files/etc/profile
+++ b/base-files/base-files/etc/profile
@@ -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
diff --git a/base-files/base-files_3.0.14.oe b/base-files/base-files_3.0.14.oe
index 6e2ced44d7..9a61849f8e 100644
--- a/base-files/base-files_3.0.14.oe
+++ b/base-files/base-files_3.0.14.oe
@@ -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 \