]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-rfkill@.service.in
install: create_symlink() check unlink() return value
[thirdparty/systemd.git] / units / systemd-rfkill@.service.in
CommitLineData
3990f247
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
6# (at your option) any later version.
7
8[Unit]
9Description=Load/Save RF Kill Switch Status of %I
10Documentation=man:systemd-rfkill@.service(8)
11DefaultDependencies=no
12RequiresMountsFor=/var/lib/systemd/rfkill
13Conflicts=shutdown.target
14After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
15Before=sysinit.target shutdown.target
16
17[Service]
18Type=oneshot
19RemainAfterExit=yes
20ExecStart=@rootlibexecdir@/systemd-rfkill load %I
21ExecStop=@rootlibexecdir@/systemd-rfkill save %I