Je reviens sur ce que j'ai dit.

Les s�quences ANSI ne sont pour rien dans le mauvais fonctionnement de rc.local.

C'est, selon moi, le fichier rc.local lui-m�me qui est en cause.

Tel que ci-dessous tout fonctionne correctement et on peut ajouter des
commandes additionnelles � la fin et elles seront bien �x�cut�es:

_____________

#!/bin/sh

# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff

if [ -f /etc/mandrake-release ]; then
    R=$(cat /etc/mandrake-release)

    arch=$(uname -m)
    a="a"
    case "_$arch" in
            _a*) a="an";;
            _i*) a="an";;
    esac

    # This will overwrite /etc/issue at every boot.  So, make any changes you
    # want to make to /etc/issue here or you will lose them when you reboot.
   
    echo "" > /etc/issue

    if [ -f /usr/bin/linux_logo ]; then
        /usr/bin/linux_logo -c -n -o 2 >> /etc/issue
    fi  

    echo "$R" >> /etc/issue
    echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue
    cp -f /etc/issue /etc/issue.net
    echo >> /etc/issue
fi

-------------------

MP.

Répondre à