diff options
author | Rene Wagner <rw@handhelds.org> | 2004-08-12 20:59:42 +0000 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2004-08-12 20:59:42 +0000 |
commit | 1227c8f93da5cee6bc0e54ed0031393632b73089 (patch) | |
tree | ff538a9cfd0a3643233529add141c0281b033d94 /base-files | |
parent | cb694c8008f3c78e019c1992c084a5039b12d0e1 (diff) |
base-files: write history to /mnt/ramfs/home/$USER/ if present. otherwise disable it.
BKrev: 411bda3eRjw5u1rQzrytMMuC6JDn0w
Diffstat (limited to 'base-files')
-rw-r--r-- | base-files/base-files/etc/profile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base-files/base-files/etc/profile b/base-files/base-files/etc/profile index 08b8355cc1..08c2afdf8b 100644 --- a/base-files/base-files/etc/profile +++ b/base-files/base-files/etc/profile @@ -24,3 +24,9 @@ fi export PATH PS1 OPIEDIR QPEDIR QTDIR umask 022 + +if [ -d /mnt/ramfs/home/$USER ]; then + export HISTFILE="/mnt/ramfs/home/$USER/.ash_history" +else + export HISTFILE="" +fi |