From 56c396c232ca97d350877f4631f4ba5eaaeece9a Mon Sep 17 00:00:00 2001 From: kueller Date: Tue, 9 Feb 2010 17:47:56 +0000 Subject: [PATCH] Auf tty1 wird nun beim login automatisch das Viitor_Setup gestartet git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_cdboot@5374 504e572c-2e33-0410-9681-be2bf7408885 --- var/root/.bash_profile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 var/root/.bash_profile diff --git a/var/root/.bash_profile b/var/root/.bash_profile new file mode 100644 index 0000000..ba891d8 --- /dev/null +++ b/var/root/.bash_profile @@ -0,0 +1,32 @@ +#!/bin/bash +#Standard bash-initialisierung für root-account +#(c) Rainmaker MultiMedia OHG +# +#$Author: kueller $ +#$Date: 2006-08-30 18:34:38 +0000 (Wed, 30 Aug 2006) $ +#$Revision: 3645 $ +# +#$Log$ +#Revision 1.2 2006/08/30 18:34:38 kueller +#CFLAGS und CXXFLAGS sollten nciht automatisch gesetzt sein. +# +#Revision 1.1.1.1 2001/09/20 21:35:23 kueller +#NeuStart wegen Datenverlust (gelöscht durch MonsumMake) +# +#Revision 1.2 2001/09/08 20:31:11 kueller +#PATH wird jetzt um den Root Path erweitert - dies geschieht nicht +#mehr für alle User, sondern nur noch für root (Programme in sbin Verzeichnissen) +# +#Revision 1.1 2001/09/06 17:56:20 dhofmann +# +#.bash_profile hinzugefügt. CFLAGS und CXXFLAGS auf pentium optimiert (-O3) +# +# +PATH=$PATH:/sbin:/usr/sbin:/usr/X11R7/sbin +export CFLAGS CXXFLAGS PATH +TTY=`tty` +if [ "$TTY" == "/bin/tty1" ]; then + unset DISPLAY + cd /Viitor/install + ./Viitor_Setup +fi