]> git.openpandora.org Git - openembedded.git/commitdiff
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 08b8355cc11cde924aec878513f2c93944a20c9c..08c2afdf8b200a3aca1194a25c9adefb25c7385b 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