base-files: write history to /mnt/ramfs/home/$USER/ if present. otherwise disable it.
authorRene Wagner <rw@handhelds.org>
Thu, 12 Aug 2004 20:59:42 +0000 (20:59 +0000)
committerRene Wagner <rw@handhelds.org>
Thu, 12 Aug 2004 20:59:42 +0000 (20:59 +0000)
BKrev: 411bda3eRjw5u1rQzrytMMuC6JDn0w

base-files/base-files/etc/profile

index 08b8355..08c2afd 100644 (file)
@@ -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