SDK Script etherwake.are

etherwake.are
/* DESC: This script can be used to wake up a sleeping host (WakeOnLan)
 * Copyright (C) 2013 NetModule AG, Switzerland
 */
 
 
if (nb_etherwake("11:22:33:44:55:66", "LAN1") != 0) {
    nb_syslog("Unable to send WakeOnLan packet");
    exit(1);
}
 
nb_syslog("WakeOnLan packet has been sent");
exit(0);