2013-10-14 10:31:49 +08: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]
|
|
|
|
Description=Load/Save RF Kill Switch Status of %I
|
|
|
|
Documentation=man:systemd-rfkill@.service(8)
|
|
|
|
DefaultDependencies=no
|
2014-11-21 08:20:57 +08:00
|
|
|
BindsTo=sys-subsystem-rfkill-devices-%i.device
|
2013-10-14 10:31:49 +08:00
|
|
|
RequiresMountsFor=/var/lib/systemd/rfkill
|
|
|
|
Conflicts=shutdown.target
|
2014-08-27 03:17:22 +08:00
|
|
|
After=systemd-remount-fs.service
|
2013-10-14 10:31:49 +08:00
|
|
|
Before=sysinit.target shutdown.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-rfkill load %I
|
|
|
|
ExecStop=@rootlibexecdir@/systemd-rfkill save %I
|
2015-04-17 09:41:18 +08:00
|
|
|
TimeoutSec=30s
|