Wakeonlan where ?



  • Hi,
    I want to see how wakeonlan is implementend in code source.
    I have search on github “wakeonlan” or “etherwake” but find nothing.
    Don’t find wol.php in /fog

    Can you help me ?



  • Don"t worry it’s not for copy ;)
    I use FOG, just want to see (untderstand) how wakeonlan is send by FOG. (etherwake or wakeonlan, with options or not etc)
    When i have try grep i do mistake syntax this explain why i found nothing on my server.
    Sorry thanks for the tips


  • Senior Developer

    I don’t mind giving up the code (it is GPL after all), but is there a particular reason you’re looking for it?

    Why I ask? If you’re looking to implement something similar in a separate project, copying FOG’s code probably isn’t going to be very helpful. It can give you an idea of what to do and how to do it, if you understand how to read between the lines in the code.

    Is there something in particular you’re needing to change? Again, you can review the code and make changes as you want. (Just search for wake on the html folder for fog – grep -rl 'wake' /var/www/fog/) If you’re trying to fix a bug, why not report what you found so we may look at it.

    Context is always a good thing to give.


Log in to reply
 

296
Online

7.1k
Users

14.3k
Topics

135.1k
Posts