summarylogtreecommitdiffstats
path: root/wowlan@.service
diff options
context:
space:
mode:
authorLudovic Fauvet2019-09-06 02:31:09 +0200
committerLudovic Fauvet2019-09-06 02:31:09 +0200
commit77658a9ecf34364be1bed511c87ab9de9b5ab0e4 (patch)
tree15764c6adc518268c11af987f0b57c2f2cd2fbc7 /wowlan@.service
downloadaur-wowlan-systemd.tar.gz
Initial commit
Diffstat (limited to 'wowlan@.service')
-rw-r--r--wowlan@.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/wowlan@.service b/wowlan@.service
new file mode 100644
index 000000000000..b24fc62b749a
--- /dev/null
+++ b/wowlan@.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Wake-on-WLAN for %i
+Requires=network.target
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/iw %i wowlan enable magic-packet
+Type=oneshot
+
+[Install]
+WantedBy=multi-user.target