summaryrefslogtreecommitdiffstats
path: root/core/modules/etherwake/module.build
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-27 12:21:01 +0200
committerSimon Rettberg2020-08-27 12:21:01 +0200
commit515ccbd1d973352956848ae9e8625c1cd214ca3f (patch)
tree470a61b32d661c7e2f4a84a7a8f492e9698ad4c2 /core/modules/etherwake/module.build
parent[busybox] Fix fucked up whitespace in patch (diff)
downloadmltk-515ccbd1d973352956848ae9e8625c1cd214ca3f.tar.gz
mltk-515ccbd1d973352956848ae9e8625c1cd214ca3f.tar.xz
mltk-515ccbd1d973352956848ae9e8625c1cd214ca3f.zip
[etherwake] Fix etherwake symlink, disable pause frames
Diffstat (limited to 'core/modules/etherwake/module.build')
-rw-r--r--core/modules/etherwake/module.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/modules/etherwake/module.build b/core/modules/etherwake/module.build
index d9648025..50b24da5 100644
--- a/core/modules/etherwake/module.build
+++ b/core/modules/etherwake/module.build
@@ -15,7 +15,8 @@ build() {
cde "$MODULE_BUILD_DIR"
mkdir -p "${MODULE_BUILD_DIR}/etc/udev/rules.d"
- sed "s,%ETHTOOL%,$(which ethtool)," "${MODULE_DIR}/templates/99-enable-wol.rules" > "${MODULE_BUILD_DIR}/etc/udev/rules.d/99-enable-wol.rules" \
+ sed "s,%ETHTOOL%,$(which ethtool)," "${MODULE_DIR}/templates/99-enable-wol-disable-pause.rules" \
+ > "${MODULE_BUILD_DIR}/etc/udev/rules.d/99-enable-wol-disable-pause.rules" \
|| perror "Cannot write udev rule to enable WOL"
local COPYLIST="list_dpkg_output"