diff options
author | Jonathan Bauer | 2019-04-12 17:34:24 +0200 |
---|---|---|
committer | Jonathan Bauer | 2019-04-12 17:34:24 +0200 |
commit | c8c8b1e932ec9c6b0bce09ffed86786c851d65f9 (patch) | |
tree | 309f4de74f0d3342d05eb0663ee820507f4a36e4 /core/modules/etherwake | |
parent | [kexec-reboot] Let systemd-shutdown trigger final kexec (diff) | |
download | mltk-c8c8b1e932ec9c6b0bce09ffed86786c851d65f9.tar.gz mltk-c8c8b1e932ec9c6b0bce09ffed86786c851d65f9.tar.xz mltk-c8c8b1e932ec9c6b0bce09ffed86786c851d65f9.zip |
[etherwake] add missing templates
Diffstat (limited to 'core/modules/etherwake')
-rw-r--r-- | core/modules/etherwake/templates/99-enable-wol.rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/modules/etherwake/templates/99-enable-wol.rules b/core/modules/etherwake/templates/99-enable-wol.rules new file mode 100644 index 00000000..0a9d2fc3 --- /dev/null +++ b/core/modules/etherwake/templates/99-enable-wol.rules @@ -0,0 +1,2 @@ +ACTION=="add", SUBSYSTEM=="net", NAME=="eth0", RUN+="%ETHTOOL% -s $name wol g" +ACTION=="add", SUBSYSTEM=="net", NAME=="boot0", RUN+="%ETHTOOL% -s $name wol g" |