New wake script for WOL

This commit is contained in:
Lord Of Nougate 2022-05-07 13:07:25 +02:00
parent 10f8c6a8c2
commit 26919d0d5a
1 changed files with 30 additions and 0 deletions

30
wake Executable file
View File

@ -0,0 +1,30 @@
#!/bin/bash
case $1 in
omv)
wol a8:5e:45:64:67:9a
;;
pve)
wol a8:5e:45:64:67:99
;;
1070ti)
wol 2C:56:DC:3C:B8:EC
;;
# Help
--help)
echo "wake [omv, pve, 1070ti]"
;;
-h)
echo "wake [omv, pve, 1070ti]"
;;
*)
echo "Unknown. Doing nothing.."
;;
esac