<?xml version="1.0"?> <interfaceDefinition> <node name="wake-on-lan"> <properties> <help>Send Wake-On-LAN (WOL) Magic Packet</help> </properties> <children> <tagNode name="interface"> <properties> <help>Interface where the station is connected</help> <completionHelp> <script>${vyos_completion_dir}/list_interfaces.py</script> </completionHelp> </properties> <children> <tagNode name="host"> <properties> <help>Station (MAC) address to wake up</help> </properties> <command>sudo /usr/sbin/etherwake -i "$3" "$5"</command> </tagNode> </children> </tagNode> </children> </node> </interfaceDefinition>