diff options
author | Linus Walleij <triad@df.lth.se> | 2010-11-24 15:32:45 +0000 |
---|---|---|
committer | Linus Walleij <triad@df.lth.se> | 2010-11-24 15:32:45 +0000 |
commit | 0d9821a3e215ba53cb6e1f196ae9741fb8a3ffc9 (patch) | |
tree | 54a1a1c5419ac84dd34780fe46889971e366b0cf /examples | |
parent | 3d707580f0806d8473d1beb4c7897e9836422d68 (diff) | |
download | libmtp-0d9821a3e215ba53cb6e1f196ae9741fb8a3ffc9.tar.gz |
Set the ID_MUSIC_PLAYER environment variable for udev
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hotplug.c b/examples/hotplug.c index c2f36c4..94c0ced 100644 --- a/examples/hotplug.c +++ b/examples/hotplug.c @@ -54,7 +54,7 @@ int main (int argc, char **argv) extern int optind; extern char *optarg; char *udev_action = NULL; - char default_udev_action[] = "SYMLINK+=\"libmtp-%k\", MODE=\"666\""; + char default_udev_action[] = "SYMLINK+=\"libmtp-%k\", MODE=\"666\" ENV{ID_MEDIA_PLAYER}=\"1\""; char *action; // To hold the action actually used. uint16_t last_vendor = 0x0000U; |