• # Re: Choisir son profil reseau au démarrage (Redhat)

    Posté par . En réponse au message [Terminal] Choisir son profil reseau au démarrage (Redhat). Évalué à 1.

    Ça semble déjà fait (j'utilise pas cette fonctionnalité) :
    /etc/rc.d/rc.sysinit

    # Boot time profiles. Yes, this should be somewhere else.
    if [ -x /usr/sbin/system-config-network-cmd ]; then
    if strstr "$cmdline" netprofile= ; then
    for arg in $cmdline ; do
    if [ "${arg##netprofile=}" != "${arg}" ]; then
    /usr/sbin/system-config-network-cmd --profile ${arg##netprofile=}
    fi
    done
    fi
    fi


    Il faut utiliser "netprofile=<profile>" dans les parablèmes de boot.