Open main menu

CDOT Wiki β

Power Up Workstation Script

Revision as of 09:00, 22 June 2011 by Msaul (talk | contribs)
#!/bin/bash

# User can create an icon to run this file
# Note: This file requires execute permissions to run
# Note: May require "wakeonlan application to be installed first

set $(cat /home/teacher/bin/workstationMacAddress.txt)
for x
do
   wakeonlan -i 192.168.1.255 $x > /dev/null
   sleep 1

done