File: 90-bolt.rules

package info (click to toggle)
bolt 0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,396 kB
  • sloc: ansic: 21,784; python: 1,574; xml: 426; sh: 25; makefile: 13
file content (16 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# bolt udev rules
#
# SPDX-License-Identifier: GPL-2.1+
#
# Copyright © 2017 Red Hat, Inc
#
# Authors:
#       Christian J. Kellner <ckellner@edhat.com>
#

ACTION=="remove", GOTO="bolt_end"

# start bolt service if we have a thunderbolt device connected
SUBSYSTEM=="thunderbolt", TAG+="systemd", ENV{SYSTEMD_WANTS}+="bolt.service"

LABEL="bolt_end"