~ubuntu-branches/ubuntu/precise/libmtp/precise-proposed

« back to all changes in this revision

Viewing changes to examples/hotplug.c

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2009-12-14 22:32:10 UTC
  • mto: (16.1.3 sid) (0.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: james.westby@ubuntu.com-20091214223210-vekc5340wzmz54bw
Tags: upstream-1.0.1
ImportĀ upstreamĀ versionĀ 1.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
      printf("# UDEV-style hotplug map for libmtp\n");
91
91
      printf("# Put this file in /etc/udev/rules.d\n\n");
92
92
      printf("ACTION!=\"add\", GOTO=\"libmtp_rules_end\"\n");
93
 
      printf("ATTR{dev}!=\"?*\", GOTO=\"libmtp_rules_end\"\n");
 
93
      printf("ENV{MAJOR}!=\"?*\", GOTO=\"libmtp_rules_end\"\n");
94
94
      printf("SUBSYSTEM==\"usb\", GOTO=\"libmtp_usb_rules\"\n"
95
95
             "# The following thing will be deprecated when older kernels are phased out.\n"
96
96
             "SUBSYSTEM==\"usb_device\", GOTO=\"libmtp_usb_device_rules\"\n"