Re: adresses IP dans fichier log
Serge Cavailles wrote:
> On doit pouvoir lancer la commande par un post-up
> dans /etc/network/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.
Un peu dangereux, mais pas mal :)
Cependant, je doute que le renouvellement du bail dhcp soit pris en compte.
=> Ajouter
post-up /usr/local/bin/le_script_que_jai_poste_il_y_a_10_mn
à la section ethX dans /etc/network/interfaces
=> Conserver le cron
--
Thomas Harding.
La phobie de la connaissance est spécifique à l'informatique.
Curieusement, c'est le seul métier où le néophyte total vous explique
votre boulot dans la minute suivant votre arrivée au chevet du malade.
Reply to: