Power Up Workstation Script

From CDOT Wiki
Revision as of 09:59, 22 June 2011 by Msaul (talk | contribs) (Created page with '#!/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 se…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  1. !/bin/bash
  1. User can create an icon to run this file
  2. Note: This file requires execute permissions to run
  3. 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