00:00
00:00
CSlash
Oy, i'm an anarchist!

Age 38

over there

Joined on 5/1/09

Level:
2
Exp Points:
20 / 50
Exp Rank:
> 100,000
Vote Power:
1.98 votes
Rank:
Civilian
Global Rank:
> 100,000
Blams:
0
Saves:
0
B/P Bonus:
0%
Whistle:
Normal
Medals:
23

wol with menu

Posted by CSlash - July 28th, 2014


Some of you may own servers, and its nice to have wol (wake on lan) so you can just start it up remotely and never have to use the power button.  Well, i was browsing the web and found a wol function written by a talented programmer, Fadly Tabrani (activestate: http://code.activestate.com/recipes/users/2143621/) And i wanted to make a whole wol app from it.  So i got to coding, and this is what i got.  It opens a file (./dbfile.db) which contains a list of format: [macaddr]/[descr]\n

Then it gives u a menu for from which you can pick the box u want to start. (by number)

Soes u dont have to remember, or type in the mac addr every time.

 -- Oh, and i'm going to try harder to properly cite borrowed media/code from now on. --

 

dump link for code:

http://www.newgrounds.com/dump/item/ec7d73e11c6f503543fa7ac7023eef51


Comments

Comments ain't a thing here.