udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / units / systemd-rfkill.socket
blob588ecd26f464b99fd4000bfecc0f5d3d2eae37c6
1 #  SPDX-License-Identifier: LGPL-2.1-or-later
3 #  This file is part of systemd.
5 #  systemd is free software; you can redistribute it and/or modify it
6 #  under the terms of the GNU Lesser General Public License as published by
7 #  the Free Software Foundation; either version 2.1 of the License, or
8 #  (at your option) any later version.
10 [Unit]
11 Description=Load/Save RF Kill Switch Status /dev/rfkill Watch
12 Documentation=man:systemd-rfkill.socket(8)
13 ConditionPathExists=!/etc/initrd-release
15 DefaultDependencies=no
16 BindsTo=sys-devices-virtual-misc-rfkill.device
17 After=sys-devices-virtual-misc-rfkill.device systemd-remount-fs.service
18 Conflicts=shutdown.target
19 Before=shutdown.target
20 RequiresMountsFor=/var/lib/systemd/rfkill
22 [Socket]
23 ListenSpecial=/dev/rfkill
24 Writable=yes