


Code: Select all
cat /usr/lib/udev/rules.d/90-bolt.rules
# bolt udev rules
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright © 2017 Red Hat, Inc
#
# Authors:
# Christian J. Kellner <ckellner@redhat.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"
Code: Select all
cat /etc/init.d/boltd
#!/sbin/openrc-run
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="Thunderbolt Security Daemon"
description="Userspace system daemon to enable security levels for Thunderbolt 3"
command="/usr/libexec/boltd"
command_background="true"
pidfile="/var/run/boltd.pid"
depend() {
need dbus
before display-manager
}
Code: Select all
boltctl list
boltctl enroll <device uuid>

Code: Select all
boltctl list
boltctl: error: could not create client: Error calling StartServiceByName for org.freedesktop.bolt: Unit bolt.service not found.Code: Select all
[Unit]
Description=Thunderbolt Security Daemon
After=network.target dbus.service
Wants=dbus.service
Before=display-manager.service
[Service]
Type=simple
ExecStart=/usr/libexec/boltd
PIDFile=/var/run/boltd.pid
[Install]
WantedBy=multi-user.target
Code: Select all
systemctl daemon-reload
Code: Select all
eix thunderbolt
* kde-plasma/plasma-thunderbolt
Available versions: (6) 6.4.5^t ~6.5.3^t
{debug test}
Homepage: https://invent.kde.org/plasma/plasma-thunderbolt
Description: Plasma integration for controlling Thunderbolt devices

