From c8c8b1e932ec9c6b0bce09ffed86786c851d65f9 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 12 Apr 2019 17:34:24 +0200 Subject: [etherwake] add missing templates --- core/modules/etherwake/templates/99-enable-wol.rules | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 core/modules/etherwake/templates/99-enable-wol.rules (limited to 'core/modules/etherwake') 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" -- cgit v1.2.3-55-g7522