freebsd-ports/net/p5-Net-Wake/pkg-descr
Andrej Zverev 734018119e - stage support
Approved by:	portmgr (blanket infrastructure)
2014-01-05 17:53:15 +00:00

14 lines
429 B
Text

This package sends wake-on-lan packets to turn on machines
that are wake-on-lan capable.
For now there is only one function in this package:
Net::Wake::by_udp(host, mac_address, [port]);
You can power on PCs by
perl -e 'use Net::Wake; Net::Wake::by_udp("192.168.0.1", "xx:xx:xx:xx:xx:xx");'
You can also specify broadcast address for `host'. It is useful in a
intelligent network.
WWW: http://search.cpan.org/dist/Net-Wake/