mirror of
https://github.com/systemd/systemd.git
synced 2025-02-02 13:47:27 +03:00
units: introduce smartcard.target
This commit is contained in:
parent
0ff3dea700
commit
2d3b2c0032
@ -32,5 +32,6 @@ SUBSYSTEM=="bluetooth", TAG="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/blueto
|
||||
|
||||
SUBSYSTEM=="bluetooth", TAG="systemd", ENV{SYSTEMD_WANTS}="bluetooth.target"
|
||||
SUBSYSTEM=="printer", TAG="systemd", ENV{SYSTEMD_WANTS}="printer.target"
|
||||
ENV{ID_SMARTCARD_READER}=="*?", TAG="systemd", ENV{SYSTEMD_WANTS}="smartcard.target"
|
||||
|
||||
LABEL="systemd_end"
|
||||
|
12
units/smartcard.target
Normal file
12
units/smartcard.target
Normal file
@ -0,0 +1,12 @@
|
||||
# This file is part of systemd.
|
||||
#
|
||||
# systemd is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# See systemd.special(7) for details
|
||||
|
||||
[Unit]
|
||||
Description=Smart Card
|
||||
StopWhenUnneeded=yes
|
Loading…
x
Reference in New Issue
Block a user