2017-11-18 17:35:03 +01:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
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)
|
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
|
2013-10-14 04:31:49 +02:00
|
|
|
Conflicts=shutdown.target
|
2015-10-01 14:32:48 +02:00
|
|
|
After=sys-devices-virtual-misc-rfkill.device systemd-remount-fs.service
|
|
|
|
Before=shutdown.target
|
2013-10-14 04:31:49 +02:00
|
|
|
|
|
|
|
[Service]
|
2015-10-01 14:32:48 +02:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-rfkill
|
2018-11-12 17:19:48 +01:00
|
|
|
NoNewPrivileges=yes
|
2017-08-31 11:37:11 +02:00
|
|
|
StateDirectory=systemd/rfkill
|
2018-11-12 17:19:48 +01:00
|
|
|
TimeoutSec=30s
|
|
|
|
Type=notify
|