|
Sujet : Lecture automatique de .login ou .profile |
| Dark_Schneider |
nathan_g> tty = mode texte
[root@admin3 admin]# ls /etc/profile.d/
10lang.csh* configure_keyboard.sh* glib20.csh* jre-1.4.2_05.csh* mozillaplugins.sh* proxy.csh* qtdir3.csh* tmpdir.csh* xprint.csh*
10lang.sh* dbus-session.sh* glib20.sh* jre-1.4.2_05.sh* msec.csh* proxy.sh* qtdir3.sh* tmpdir.sh* xprint.sh*
alias.csh* gconf.csh* inputrc.csh* kde3.sh* msec.sh* python.csh* screen.sh* xhost.csh*
alias.sh* gconf.sh* inputrc.sh* mozillaplugins.csh* numlock.sh* python.sh* ssh-client.sh* xhost.sh*
|
tu devrais mettre ton scripts qui initialise les variables dans /etc/profile.d/
[root@admin3 admin]# cat /etc/profile.d/qtdir3.sh
# Set QTDIR for Bash shell
if [ -z "$QTDIR" ]; then
export QTDIR="/usr/lib/qt3/"
fi
|
|