Le Mon, 10 Oct 2005 22:23:00 +0200 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> a écrit:
> Gaëtan PERRIER a écrit : > >> > >># This script can be used to override the .d files supplied by > >># other > >>packages. > >>if [ -x /etc/ppp/ip-up.local ]; then > >> exec /etc/ppp/ip-up.local > >>fi > >> > >>run-parts /etc/ppp/ip-up.d \ > >> --arg="$1" --arg="$2" --arg="$3" --arg="$4" --arg="$5" > >> --arg="$6" > > > > Oui j'ai vu ces lignes mais je ne comprends pas en quoi > > ip-up.local gêne? Normalement il devrait fairte ip-up.local puis > > le run-parts, non? > > Non. La commande "exec" lance l'exécution de la commande passée en > argument en remplacement du shell qui est en train d'exécuter le > script. Cela signifie que les instructions suivantes du script ne > seront pas exécutées. Cf. man exec et bash. Donc tout s'explique!!! Mine de rien ça fait au moins 1 an que ce problème persisté!!! Un grand merci à tous! Donc si je mets la suite du script ip-up dans mon ip-up.local tout devrait rentrer dans l'ordre, non? Gaëtan