Skip to content

Commit

Permalink
changed "-mausi_wol" to "-mausi_no_wol"
Browse files Browse the repository at this point in the history
When "-mausi_no_wol" is set, WOL will be disabled.
  • Loading branch information
fischerscode committed Jan 20, 2020
1 parent e9275d8 commit 1ac38be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion IntelMausiEthernet/IntelMausiEthernet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ bool IntelMausi::init(OSDictionary *properties)
result = super::init(properties);

bool tmp = 0;
bool wol = PE_parse_boot_argn("-mausi_wol", &tmp, 0);
bool wol = ! PE_parse_boot_argn("-mausi_no_wol", &tmp, 0);

if (result) {
workLoop = NULL;
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Fork from IntelMausiEthernet with WOL functionality after complete shutdown.
https://github.com/Mieze/IntelMausiEthernet

To enable WOL just add the bootargument "-mausi_wol".
WOL is enabled by default.
To disable WOL just add the bootargument "-mausi_no_wol".

This only works as a replacement for IntelMausiEthernet.kext.
Please make a backup EFI folder on a thumbdrive bevore you try IntelMausiEthernet-WOL.kext.
Expand Down

0 comments on commit 1ac38be

Please sign in to comment.