diff options
| author | Marc Vertes <mvertes@free.fr> | 2021-03-12 12:31:20 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2021-03-12 12:31:20 +0100 |
| commit | 050afa8def0739b459122b9d4c7fcf854ae1ed2a (patch) | |
| tree | 9c0c67707c71c8f9351788dc346c96fd9e8fcc4a /bin/wol | |
| parent | 9aa9c25a4d2ced1ea41d1d981b3fad9fe28a17a6 (diff) | |
added wol. Updated vm
Diffstat (limited to 'bin/wol')
| -rwxr-xr-x | bin/wol | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -0,0 +1,6 @@ +#!/bin/sh -x +ip_plex=192.168.1.90 mac_plex=b0:83:fe:61:a7:aa +eval "mac=\$mac_$1 ip=\$ip_$1" +wakeonlan "$mac" +ping -o "$ip" +ssh "root@$ip" |
