2020-11-09 13:23:58 +09:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-18 17:35:03 +01:00
|
|
|
#
|
2013-10-14 04:31:49 +02:00
|
|
|
# This file is part of systemd.
|
|
|
|
|
#
|
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
[Unit]
|
2015-10-01 14:32:48 +02:00
|
|
|
Description=Load/Save RF Kill Switch Status
|
|
|
|
|
Documentation=man:systemd-rfkill.service(8)
|
2023-07-04 22:31:11 +02:00
|
|
|
ConditionPathExists=!/etc/initrd-release
|
|
|
|
|
|
2013-10-14 04:31:49 +02:00
|
|
|
DefaultDependencies=no
|
2015-10-01 14:32:48 +02:00
|
|
|
BindsTo=sys-devices-virtual-misc-rfkill.device
|
2023-05-15 13:52:41 +02:00
|
|
|
Conflicts=shutdown.target
|
2020-04-08 16:24:23 +02:00
|
|
|
After=sys-devices-virtual-misc-rfkill.device
|
2023-05-15 13:52:41 +02:00
|
|
|
Before=shutdown.target
|
2013-10-14 04:31:49 +02:00
|
|
|
|
|
|
|
|
[Service]
|
2023-06-12 02:15:19 +01:00
|
|
|
ExecStart={{LIBEXECDIR}}/systemd-rfkill
|
2018-11-12 17:19:48 +01:00
|
|
|
NoNewPrivileges=yes
|
2017-08-31 18:37:11 +09:00
|
|
|
StateDirectory=systemd/rfkill
|
2024-03-13 10:26:52 +01:00
|
|
|
TimeoutSec=90s
|
2018-11-12 17:19:48 +01:00
|
|
|
Type=notify
|