Modification du script tg-autoconnect