Add override for DISTRO_CODENAME
[AGL/meta-agl.git] / meta-agl / recipes-multimedia / lightmediascanner / files / lightmediascanner.sh
1 #!/bin/sh
2 #
3 # Call from udev
4 #
5 # Attempt to scan any new inserted media
6
7 name="`basename "$DEVNAME"`"
8
9 /usr/bin/lightmediascannerctl scan audio:/run/media/$(basename "$DEVNAME")