summaryrefslogtreecommitdiff
path: root/core/rfkill/service
diff options
context:
space:
mode:
Diffstat (limited to 'core/rfkill/service')
-rw-r--r--core/rfkill/service11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/rfkill/service b/core/rfkill/service
new file mode 100644
index 000000000..decd5b6fc
--- /dev/null
+++ b/core/rfkill/service
@@ -0,0 +1,11 @@
+[Unit]
+Description=RFKill-Block Selected Devices
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/rfkill block 9999
+ExecStop=/usr/sbin/rfkill unblock all
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target