How to execute a script when the network card is enabled

  • Hello, everyone.

    I need an external USB card.

    And need to make a rout table to work.

    I want to run a script while inserting the network card in the box

    But no way was found.

    How do I implement this?


    thank you!