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
<# | |
.SYNOPSIS | |
Sends a Wake-on-LAN (WOL) packet to a specified MAC address and pings an optional IP address until it is online. | |
.DESCRIPTION | |
This script sends a WOL packet to the specified MAC address to wake up a target device. It can also ping an optional IP address until it is online. | |
.PARAMETER mac | |
The MAC address of the target device. It should be provided in one of the following formats: | |
- 001122334455 |
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
#!/bin/bash | |
SUSPENDTHRESHOLD=1800 | |
LOADTHRESHOLD=1.7 | |
PACKETSTHRESHOLD=40 | |
NFS_PORT=2049 | |
SMB_PORT=445 | |
NETWORKINTERFACE=bond0 | |
DRY_RUN=false |
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
Packages available for installation or update: 94 | |
---------- | |
id: 1 or "tools" | |
Type: Tool | |
Desc: Android SDK Tools, revision 22.3 | |
---------- | |
id: 2 or "platform-tools" | |
Type: PlatformTool | |
Desc: Android SDK Platform-tools, revision 19.0.1 | |
---------- |