From 1227c8f93da5cee6bc0e54ed0031393632b73089 Mon Sep 17 00:00:00 2001 From: Rene Wagner Date: Thu, 12 Aug 2004 20:59:42 +0000 Subject: base-files: write history to /mnt/ramfs/home/$USER/ if present. otherwise disable it. BKrev: 411bda3eRjw5u1rQzrytMMuC6JDn0w --- base-files/base-files/etc/profile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3