• # /etc/network/interfaces

    Posté par . En réponse au message Demarrer un prog lors de la connexion wifi sur un certain SSID ?. Évalué à 2.

    man interfaces :


    post-up command
    Run command after bringing the interface up. If this command
    fails then ifup aborts, refraining from marking the interface as
    configured (even though it has really been configured), prints
    an error message, and exits with status 0. This behavior may
    change in the future.


    A priori, il suffit que ta post-up command vérifie le SSID avant de déclencher ton script le cas échéant.