diff options
Diffstat (limited to 'wol@.service')
-rw-r--r-- | wol@.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/wol@.service b/wol@.service new file mode 100644 index 000000000000..875180e35004 --- /dev/null +++ b/wol@.service @@ -0,0 +1,11 @@ +[Unit] +Description=Wake-on-LAN for %i +Requires=network.target +After=network.target + +[Service] +ExecStart=/usr/bin/ethtool -s %i wol g +Type=oneshot + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |