2020-11-09 04:23:58 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-18 16:35:03 +00:00
|
|
|
#
|
2013-10-14 02:31:49 +00: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 12:32:48 +00:00
|
|
|
Description=Load/Save RF Kill Switch Status
|
|
|
|
Documentation=man:systemd-rfkill.service(8)
|
2023-07-04 20:31:11 +00:00
|
|
|
ConditionPathExists=!/etc/initrd-release
|
|
|
|
|
2013-10-14 02:31:49 +00:00
|
|
|
DefaultDependencies=no
|
2015-10-01 12:32:48 +00:00
|
|
|
BindsTo=sys-devices-virtual-misc-rfkill.device
|
2023-05-15 11:52:41 +00:00
|
|
|
Conflicts=shutdown.target
|
2020-04-08 14:24:23 +00:00
|
|
|
After=sys-devices-virtual-misc-rfkill.device
|
2023-05-15 11:52:41 +00:00
|
|
|
Before=shutdown.target
|
2013-10-14 02:31:49 +00:00
|
|
|
|
|
|
|
[Service]
|
2023-06-12 01:15:19 +00:00
|
|
|
ExecStart={{LIBEXECDIR}}/systemd-rfkill
|
2018-11-12 16:19:48 +00:00
|
|
|
NoNewPrivileges=yes
|
2017-08-31 09:37:11 +00:00
|
|
|
StateDirectory=systemd/rfkill
|
2024-03-13 09:26:52 +00:00
|
|
|
TimeoutSec=90s
|
2018-11-12 16:19:48 +00:00
|
|
|
Type=notify
|