-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marco Simone Zuppone
committed
Jun 8, 2022
1 parent
04d6ae2
commit 3ac1923
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,9 @@ def wol(lunaMacAddress: bytes, port: int): | |
|
||
|
||
if __name__ == '__main__': | ||
print("wakeup - by Marco S. Zuppone - [email protected] - https://msz.eu") | ||
print("Program licensed under GNU AFFERO GENERAL PUBLIC LICENSE version 3") | ||
print("") | ||
parser = argparse.ArgumentParser( | ||
description="Sends the WoL magic packet to the specified MAC address", | ||
epilog="For any questions, feedback, suggestions, send money (yes...it's a dream I know) you can contact the " | ||
|
@@ -33,4 +36,4 @@ def wol(lunaMacAddress: bytes, port: int): | |
exit() | ||
# pass to wol the mac address of the ethernet port of the appliance to wakeup | ||
wol(bytearray.fromhex(args.MACAddress), args.port) | ||
# bytearray.fromhex('') | ||
|