From f986697a33fa726b6bd6e54c056824213a240b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20CHASSAIGNE?= Date: Fri, 16 Sep 2016 11:17:38 +0000 Subject: [PATCH] Doc --- share/98-usbcopy.rules | 1 + 1 file changed, 1 insertion(+) create mode 100644 share/98-usbcopy.rules diff --git a/share/98-usbcopy.rules b/share/98-usbcopy.rules new file mode 100644 index 0000000..be08257 --- /dev/null +++ b/share/98-usbcopy.rules @@ -0,0 +1 @@ +ACTION=="add", SUBSYSTEM=="block", KERNEL=="sd[a-z]1", RUN +="/bin/mount -o dmask=777,fmask=777 /dev/%k /media/song_usb", RUN+="/usr/local/bin/musique.sh /dev/%k"