예제 #1
0
 /**
  * This action will try to send a WOL package to the device that is specified by $_GET['mac'].
  * 
  * @return  void
  */
 public function wolAction()
 {
     if (isset($_GET['mac'])) {
         Devices::wakeOnLan($_GET['mac'], $this->config);
     }
     die;
 }