90-bolt.rules 350 B

12345678910111213141516
  1. # bolt udev rules
  2. #
  3. # SPDX-License-Identifier: GPL-2.1+
  4. #
  5. # Copyright © 2017 Red Hat, Inc
  6. #
  7. # Authors:
  8. # Christian J. Kellner <ckellner@edhat.com>
  9. #
  10. ACTION=="remove", GOTO="bolt_end"
  11. # start bolt service if we have a thunderbolt device connected
  12. SUBSYSTEM=="thunderbolt", TAG+="systemd", ENV{SYSTEMD_WANTS}+="bolt.service"
  13. LABEL="bolt_end"