Path: ...!news.mixmin.net!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED.146.213.101.84.rev.sfr.net!not-for-mail From: Thierry P Newsgroups: fr.comp.os.linux.configuration Subject: =?UTF-8?Q?Re=3a_Aide_pour_scan_cl=c3=a9_usb_avec_Ubuntu?= Date: Sat, 14 May 2022 22:37:29 +0200 Organization: =?UTF-8?Q?Usenet=2c_Canal_hist=c3=a9rique?= Message-ID: References: <627f7953$0$18025$426a74cc@news.free.fr> <627fa95d$0$18021$426a34cc@news.free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 14 May 2022 20:37:29 -0000 (UTC) Injection-Info: shakotay.alphanet.ch; posting-account="pinuche"; posting-host="146.213.101.84.rev.sfr.net:84.101.213.146"; logging-data="14209"; mail-complaints-to="usenet@alphanet.ch" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Content-Language: fr In-Reply-To: <627fa95d$0$18021$426a34cc@news.free.fr> Bytes: 2051 Lines: 29 Sergio écrivationnait : > Le 14/05/2022 à 12:06, Thierry P a écrit : >> Le 14/05/2022 Sergio >> écrivationnait  : >> >>> Le 12/05/2022 à 12:20, Escros a écrit : >>>> Bonjour, >>>> Je viens vers vous car je ne comprend pas tout, j'ai crée un rules dans >>>> /etc/udev/rules.d qui fait >>>> ACTION=="add",KERNEL==",sd[b-z]",RUN+="/usr/local/bin/usb-scan.sh" >>>> >>>> Dans mon script il y a >>>> #! /bin/bash >>> >>> À tout hasard, pas d'espace entre le @ et le : > >> où donc ? je ne vois pas > > #!/bin/bash > Et non : > #! /bin/bash Non, c'est correct et puis j'ai lu "pas d'espace entre le @ et le :" ---> Mauvais clavier, changer de clavier N'importe quoi