• [^] # Re: Trop d'honneurs...

    Posté par (site web personnel, Mastodon) . En réponse au journal yet another journal about systemd. Évalué à 6.

    Elle est où la gestion des paramètres du script init original, à savoir :

    # change this line if you want dnsmasq to serve an MX record for
    # the host it is running on.
    MAILHOSTNAME=""
    # change this line if you want dns to get its upstream servers from
    # somewhere other that /etc/resolv.conf
    RESOLV_CONF=""
    # change this if you want dnsmasq to cache any "hostname" or "client-hostname" from
    # a dhcpd's lease file
    DHCP_LEASE="/var/lib/dhcp/dhcpd.leases"
    DOMAIN_SUFFIX=`dnsdomainname`
    
    

    Ainsi que :

    if [ ! -z "${MAILHOSTNAME}" ]; then
    OPTIONS="$OPTIONS -m $MAILHOSTNAME"
    fi
    if [ ! -z "${RESOLV_CONF}" ]; then
    OPTIONS="$OPTIONS -r $RESOLV_CONF"
    fi
    if [ ! -z "${DHCP_LEASE}" ]; then
    OPTIONS="$OPTIONS -l $DHCP_LEASE"
    fi
    if [ ! -z "${DOMAIN_SUFFIX}" ]; then
    OPTIONS="$OPTIONS -s $DOMAIN_SUFFIX"
    fi
    
    

    ?